checkout page is not working

  • Unknown's avatar

    When a customer place an order , the checkout page is not working . It shows a critical error.

    WP.com: Yes
    Jetpack: Yes
    Correct account: Yes

    The blog I need help with is: (visible only to logged in users)

  • Hi there,

    I noticed in our server logs that there appears to be an issue with the Elementor plugin on your site that is causing this critical error you are seeing. I’ve included the full output from our logs below:

    [07-Oct-2023 00:36:24 UTC] PHP Fatal error:  Uncaught TypeError: ltrim(): Argument #1 ($string) must be of type string, WP_Error given in /wordpress/core/6.3.1/wp-includes/formatting.php:4477
    Stack trace:
    #0 /wordpress/core/6.3.1/wp-includes/formatting.php(4477): ltrim(Object(WP_Error))
    #1 /srv/htdocs/wp-content/themes/nutritix/inc/elementor/widgets/product-categories.php(901): esc_url(Object(WP_Error))
    #2 /srv/htdocs/wp-content/plugins/elementor/includes/base/controls-stack.php(2265): Nutritix_Elementor_Products_Categories->render()
    #3 /srv/htdocs/wp-content/plugins/elementor/includes/base/widget-base.php(609): ElementorControls_Stack->render_by_mode()
    #4 /srv/htdocs/wp-content/plugins/elementor/includes/base/widget-base.php(750): ElementorWidget_Base->render_content()
    #5 /srv/htdocs/wp-content/plugins/elementor/includes/base/element-base.php(464): ElementorWidget_Base->print_content()
    #6 /srv/htdocs/wp-content/plugins/elementor/includes/base/element-base.php(1375): ElementorElement_Base->print_element()
    #7 /srv/htdocs/wp-content/plugins/elementor/includes/base/element-base.php(464): ElementorElement_Base->print_content()
    #8 /srv/htdocs/wp-content/plugins/elementor/includes/base/element-base.php(1375): ElementorElement_Base->print_element()
    #9 /srv/htdocs/wp-content/plugins/elementor/includes/base/element-base.php(464): ElementorElement_Base->print_content()
    #10 /srv/htdocs/wp-content/plugins/elementor/core/base/document.php(1739): ElementorElement_Base->print_element()
    #11 /srv/htdocs/wp-content/plugins/elementor/core/base/document.php(1134): ElementorCoreBaseDocument->print_elements(Array)
    #12 /srv/htdocs/wp-content/plugins/elementor/includes/frontend.php(1179): ElementorCoreBaseDocument->print_elements_with_wrapper(Array)
    #13 /srv/htdocs/wp-content/plugins/elementor/includes/frontend.php(1074): ElementorFrontend->get_builder_content(5234)
    #14 /wordpress/core/6.3.1/wp-includes/class-wp-hook.php(310): ElementorFrontend->apply_builder_in_content('<a href="https:...')
    #15 /wordpress/core/6.3.1/wp-includes/plugin.php(205): WP_Hook->apply_filters('<a href="https:...', Array)
    #16 /wordpress/plugins/wordpress-seo/21.3/src/builders/indexable-link-builder.php(117): apply_filters('the_content', '<a href="https:...')
    #17 /wordpress/plugins/wordpress-seo/21.3/src/actions/indexing/abstract-link-indexing-action.php(65): YoastWPSEOBuildersIndexable_Link_Builder->build(Object(YoastWPSEOModelsIndexable), '<a href="https:...')
    #18 /wordpress/plugins/wordpress-seo/21.3/src/integrations/admin/background-indexing-integration.php(219): YoastWPSEOActionsIndexingAbstract_Link_Indexing_Action->index()
    #19 /wordpress/core/6.3.1/wp-includes/class-wp-hook.php(310): YoastWPSEOIntegrationsAdminBackground_Indexing_Integration->index()
    #20 /wordpress/core/6.3.1/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array)
    #21 /wordpress/core/6.3.1/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
    #22 /wordpress/core/6.3.1/wp-cron.php(191): do_action_ref_array('wpseo_indexable...', Array)
    #23 {main}
      thrown in /wordpress/core/6.3.1/wp-includes/formatting.php on line 4477

    Because Elementor is a 3rd party plugin (and we are not familiar with the code) we are not able to take a closer look and troubleshoot, but you can contact Elementor support staff here, and provide them with the above details. They are in the best position to take a closer look and suggest a fix.

    https://elementor.com/support/

    Hope that helps. Please let us know if you have any more questions.

  • The topic ‘checkout page is not working’ is closed to new replies.