• Resolved dk9

    (@dk9)


    Hi support,

    I have this fatal error causing many errors logs.

    Can you please let me know what’s the solution?
    Thanks!

    Fatal error: Uncaught Error: Call to a member function get_meta() on bool in /home/639925.cloudwaysapps.com/gsvszpjvap/public_html/wp-content/plugins/woo-stripe-payment/includes/class-wc-stripe-field-manager.php:73Stack Trace1.WC_Stripe_Field_Manager::output_product_checkout_fields()/home/639925.cloudwaysapps.com/gsvszpjvap/public_html/wp-includes/class-wp-hook.php:3242.WP_Hook->apply_filters()/home/639925.cloudwaysapps.com/gsvszpjvap/public_html/wp-includes/class-wp-hook.php:3483.WP_Hook->do_action()/home/639925.cloudwaysapps.com/gsvszpjvap/public_html/wp-includes/plugin.php:5174.do_action()/home/639925.cloudwaysapps.com/gsvszpjvap/public_html/wp-content/plugins/woocommerce/templates/single-product/add-to-cart/simple.php:515.include('/home/639925.cl...')/home/639925.cloudwaysapps.com/gsvszpjvap/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php:3456.wc_get_template()/home/639925.cloudwaysapps.com/gsvszpjvap/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php:17297.woocommerce_simple_add_to_cart()/home/639925.cloudwaysapps.com/gsvszpjvap/public_html/wp-content/themes/flatsome/inc/woocommerce/structure-wc-product-page.php:2818.flatsome_sticky_add_to_cart_template()/home/639925.cloudwaysapps.com/gsvszpjvap/public_html/wp-includes/class-wp-hook.php:3249.WP_Hook->apply_filters()/home/639925.cloudwaysapps.com/gsvszpjvap/public_html/wp-includes/class-wp-hook.php:34810.WP_Hook->do_action()/home/639925.cloudwaysapps.com/gsvszpjvap/public_html/wp-includes/plugin.php:51711.do_action()/home/639925.cloudwaysapps.com/gsvszpjvap/public_html/wp-includes/general-template.php:308112.wp_footer()/home/639925.cloudwaysapps.com/gsvszpjvap/public_html/wp-content/themes/flatsome/maintenance.php:3813.require('/home/639925.cl...')/home/639925.cloudwaysapps.com/gsvszpjvap/public_html/wp-includes/template.php:81214.load_template()/home/639925.cloudwaysapps.com/gsvszpjvap/public_html/wp-includes/template.php:74515.locate_template()/home/639925.cloudwaysapps.com/gsvszpjvap/public_html/wp-includes/general-template.php:20616.get_template_part()/home/639925.cloudwaysapps.com/gsvszpjvap/public_html/wp-content/themes/flatsome/inc/functions/function-maintenance.php:11117.flatsome_maintenance_mode()/home/639925.cloudwaysapps.com/gsvszpjvap/public_html/wp-includes/class-wp-hook.php:32418.WP_Hook->apply_filters()/home/639925.cloudwaysapps.com/gsvszpjvap/public_html/wp-includes/class-wp-hook.php:34819.WP_Hook->do_action()/home/639925.cloudwaysapps.com/gsvszpjvap/public_html/wp-includes/plugin.php:51720.do_action()/home/639925.cloudwaysapps.com/gsvszpjvap/public_html/wp-includes/template-loader.php:1321.require_once('/home/639925.cl...')/home/639925.cloudwaysapps.com/gsvszpjvap/public_html/wp-blog-header.php:1922.require('/home/639925.cl...')/home/639925.cloudwaysapps.com/gsvszpjvap/public_html/index.php:1723.{main}thrown in /home/639925.cloudwaysapps.com/gsvszpjvap/public_html/wp-content/plugins/woo-stripe-payment/includes/class-wc-stripe-field-manager.php on line 73

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Clayton R

    (@mrclayton)

    Hi @dk9

    When you have product page payment methods enabled then the plugin will use the global $product variable defined by WooCommerce to render the payment buttons.

    For some reason your site’s global $product is set to a boolean value, when it should be a WooCommerce product. You most likely have some plugin installed that’s incorrectly manipulating the global product object.

    Kind Regards

    Thread Starter dk9

    (@dk9)

    Thank you for that quick response

    Do you have an idea how to find out which one it is?

    We have very usual plugins…

    Plugin Author Clayton R

    (@mrclayton)

    Do you have an idea how to find out which one it is?

    Here is my recommendation for how to troubleshoot.

    1. Try a default theme first, like Twenty-Twenty-Four. If that doesn’t resolve, move on to step 2.
    2. Are you using Elementor or any other page builder? If so, deactivate and test.
    3. Deactivate plugins one by one until the issue is no longer there. The last plugin deactivated will be the one causing that conflict.

    Kind Regards

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

The topic ‘Fatal PHP Error’ is closed to new replies.