• Resolved cbdease

    (@cbdease)


    Hello, the checkout page on my site stopped working after installing a few payment gateway plugim which have now since been removed, however error still persists.

    Whenever the user tries to pay for order on checkout page, a red exclamation mark appears at the top of the page without a message and is not taken to the order confirmed page. The order appears in my orders page as “pending payment”.

    This occurs for ALL payment options.

    Please help! Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Zach W

    (@dynamiczach)

    Automattic Happiness Engineer

    Hi there!

    It sounds like WooCommerce was working before you installed the previous payment gateway plugin.

    Can you go to WooCommerce > Status > Logs and look for any fatal-error logs available there? If a log is available, can you copy it and paste it here (the most recent log)? Thanks!

    Otherwise, this kind of problem is usually caused by either a conflict with your theme or with another plugin.

    The best way to determine this is to:

    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    If that doesn’t work, could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response. Thanks!

    Same issue over here. But I only update woocommerce.

    My errors
    2020-12-14T14:29:39+00:00 CRITICAL Uncaught Error: Object of class WP_Error could not be converted to string in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/electro-child/functions.php:42
    Stack trace:
    #0 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(287): sv_wc_prevent_checkout_for_category()
    #1 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
    #2 /opt/bitnami/apps/wordpress/htdocs/wp-includes/plugin.php(478): WP_Hook->do_action()
    #3 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(272): do_action()
    #4 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(67): WC_Shortcode_Checkout::checkout()
    #5 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Checkout::output()
    #6 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(95): WC_Sho en /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/electro-child/functions.php en la línea 42

    2020-12-14T14:33:20+00:00 CRITICAL Uncaught Error: Object of class WP_Error could not be converted to string in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/electro-child/functions.php:42
    Stack trace:
    #0 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(287): sv_wc_prevent_checkout_for_category()
    #1 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
    #2 /opt/bitnami/apps/wordpress/htdocs/wp-includes/plugin.php(478): WP_Hook->do_action()
    #3 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(272): do_action()
    #4 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(67): WC_Shortcode_Checkout::checkout()
    #5 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Checkout::output()
    #6 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(95): WC_Sho en /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/electro-child/functions.php en la línea 42

    2020-12-14T14:33:24+00:00 CRITICAL Uncaught Error: Object of class WP_Error could not be converted to string in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/electro-child/functions.php:42
    Stack trace:
    #0 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(287): sv_wc_prevent_checkout_for_category()
    #1 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
    #2 /opt/bitnami/apps/wordpress/htdocs/wp-includes/plugin.php(478): WP_Hook->do_action()
    #3 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-cart.php(91): do_action()
    #4 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Cart::output()
    #5 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(85): WC_Shortcodes::shortcode_wrapper()
    #6 /opt/bitnami/apps/wordpress/htdocs/wp-includes/shortcodes.php(343): WC_Shortcodes::cart()
    #7 [internal function]: do_shortcode_tag()
    #8 / en /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/electro-child/functions.php en la línea 42

    2020-12-14T14:34:58+00:00 CRITICAL Uncaught Error: Object of class WP_Error could not be converted to string in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/electro-child/functions.php:42
    Stack trace:
    #0 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(287): sv_wc_prevent_checkout_for_category()
    #1 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
    #2 /opt/bitnami/apps/wordpress/htdocs/wp-includes/plugin.php(478): WP_Hook->do_action()
    #3 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-cart.php(91): do_action()
    #4 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Cart::output()
    #5 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(85): WC_Shortcodes::shortcode_wrapper()
    #6 /opt/bitnami/apps/wordpress/htdocs/wp-includes/shortcodes.php(343): WC_Shortcodes::cart()
    #7 [internal function]: do_shortcode_tag()
    #8 / en /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/electro-child/functions.php en la línea 42

    2020-12-14T14:43:57+00:00 CRITICAL Uncaught Error: Object of class WP_Error could not be converted to string in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/electro-child/functions.php:42
    Stack trace:
    #0 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(287): sv_wc_prevent_checkout_for_category()
    #1 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
    #2 /opt/bitnami/apps/wordpress/htdocs/wp-includes/plugin.php(478): WP_Hook->do_action()
    #3 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-cart.php(91): do_action()
    #4 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Cart::output()
    #5 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(85): WC_Shortcodes::shortcode_wrapper()
    #6 /opt/bitnami/apps/wordpress/htdocs/wp-includes/shortcodes.php(343): WC_Shortcodes::cart()
    #7 [internal function]: do_shortcode_tag()
    #8 / en /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/electro-child/functions.php en la línea 42

    2020-12-14T17:00:47+00:00 CRITICAL Uncaught Error: Object of class WP_Error could not be converted to string in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/electro-child/functions.php:42
    Stack trace:
    #0 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(287): sv_wc_prevent_checkout_for_category()
    #1 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
    #2 /opt/bitnami/apps/wordpress/htdocs/wp-includes/plugin.php(478): WP_Hook->do_action()
    #3 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-cart.php(91): do_action()
    #4 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Cart::output()
    #5 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(85): WC_Shortcodes::shortcode_wrapper()
    #6 /opt/bitnami/apps/wordpress/htdocs/wp-includes/shortcodes.php(343): WC_Shortcodes::cart()
    #7 [internal function]: do_shortcode_tag()
    #8 / en /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/electro-child/functions.php en la línea 42

    2020-12-14T19:19:20+00:00 CRITICAL Uncaught Error: Object of class WP_Error could not be converted to string in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/electro-child/functions.php:42
    Stack trace:
    #0 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(287): sv_wc_prevent_checkout_for_category()
    #1 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
    #2 /opt/bitnami/apps/wordpress/htdocs/wp-includes/plugin.php(478): WP_Hook->do_action()
    #3 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-cart.php(91): do_action()
    #4 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Cart::output()
    #5 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(85): WC_Shortcodes::shortcode_wrapper()
    #6 /opt/bitnami/apps/wordpress/htdocs/wp-includes/shortcodes.php(343): WC_Shortcodes::cart()
    #7 [internal function]: do_shortcode_tag()
    #8 / en /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/electro-child/functions.php en la línea 42

    2020-12-14T19:22:58+00:00 CRITICAL Uncaught Error: Object of class WP_Error could not be converted to string in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/electro-child/functions.php:42
    Stack trace:
    #0 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(287): sv_wc_prevent_checkout_for_category()
    #1 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
    #2 /opt/bitnami/apps/wordpress/htdocs/wp-includes/plugin.php(478): WP_Hook->do_action()
    #3 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(272): do_action()
    #4 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(67): WC_Shortcode_Checkout::checkout()
    #5 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Checkout::output()
    #6 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(95): WC_Sho en /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/electro-child/functions.php en la línea 42

    2020-12-14T19:27:54+00:00 CRITICAL Uncaught Error: Object of class WP_Error could not be converted to string in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/electro-child/functions.php:42
    Stack trace:
    #0 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(287): sv_wc_prevent_checkout_for_category()
    #1 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
    #2 /opt/bitnami/apps/wordpress/htdocs/wp-includes/plugin.php(478): WP_Hook->do_action()
    #3 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-cart.php(91): do_action()
    #4 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Cart::output()
    #5 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(85): WC_Shortcodes::shortcode_wrapper()
    #6 /opt/bitnami/apps/wordpress/htdocs/wp-includes/shortcodes.php(343): WC_Shortcodes::cart()
    #7 [internal function]: do_shortcode_tag()
    #8 / en /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/electro-child/functions.php en la línea 42

    2020-12-14T19:37:19+00:00 CRITICAL Uncaught Error: Object of class WP_Error could not be converted to string in /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/electro-child/functions.php:42
    Stack trace:
    #0 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(287): sv_wc_prevent_checkout_for_category()
    #1 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
    #2 /opt/bitnami/apps/wordpress/htdocs/wp-includes/plugin.php(478): WP_Hook->do_action()
    #3 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-cart.php(91): do_action()
    #4 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Cart::output()
    #5 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(85): WC_Shortcodes::shortcode_wrapper()
    #6 /opt/bitnami/apps/wordpress/htdocs/wp-includes/shortcodes.php(343): WC_Shortcodes::cart()
    #7 [internal function]: do_shortcode_tag()
    #8 / en /opt/bitnami/apps/wordpress/htdocs/wp-content/themes/electro-child/functions.php en la línea 42

    Zach W

    (@dynamiczach)

    Automattic Happiness Engineer

    Howdy @xthebhann!

    Thanks for the fatal error logs! In your case, that fatal error is coming from your “electro-child” theme. I’d recommend contacting your child theme developer and sharing the error, as they should be able to get that resolved.

    If that doesn’t fully resolve the issue, then I’d recommend a full conflict test as outlined in my initial reply above. Make sure you take a full backup of your site before testing, or ideally try testing on a staging site instead.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Checkout page not working, gives exclamation error’ is closed to new replies.