• Resolved hendrawpdevelop

    (@hendrawpdevelop)


    Can you help solve this issue please?
    This is what I see on Woocommerce > Status > Logs

    2022-01-18T19:11:55+00:00 CRITICAL Uncaught Error: Call to a member function get_type() on bool in /public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-payment-request.php:1365
    Stack trace:
    #0 /public_html/wp-includes/class-wp-hook.php(303): WC_Stripe_Payment_Request->ajax_add_to_cart('')
    #1 /public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
    #2 /public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #3 /public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(90): do_action('wc_ajax_wc_stri...')
    #4 /public_html/wp-includes/class-wp-hook.php(303): WC_AJAX::do_wc_ajax('')
    #5 /public_html/wp-includes/class-wp-hook.php(327): WP_Hook->ap in /public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-payment-request.php on line 1365
Viewing 2 replies - 1 through 2 (of 2 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @hendrawpdevelop 👋

    These errors are usually caused by a conflict with your theme or with another plugin. The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce and WooCommerce Stripe Gateway
    • Repeat the action that is causing the problem

    If you’re not seeing the same behavior after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated.

    Reactivate the theme first and check again. Then, go on and 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:

    https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    Thanks.

    Mirko P.

    (@rainfallnixfig)

    Hi there,

    It’s been a while since we last heard from you, so I’m marking this thread as resolved.

    Hopefully, you’ve been able to resolve this, but we’ll be here if and/or when you are ready to continue.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘CRITICAL Uncaught Error’ is closed to new replies.