• Resolved romonoutic

    (@romonoutic)


    Hi, thank you very much for this great plugin! I’m currently having issues when trying to update to the new version and getting the following error:

    Fatal error: Uncaught Error: Call to a member function get_cart() on null in /home/customer/www/MyWebsite.com/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(484) : eval()'d code:7 Stack trace: #0 /home/customer/www/MyWebsite.com/public_html/wp-includes/class-wp-hook.php(307): MyWebsite_simplify_checkout_virtual(Array) #1 /home/customer/www/MyWebsite.com/public_html/wp-includes/plugin.php(191): WP_Hook->apply_filters(Array, Array) #2 /home/customer/www/MyWebsite.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(267): apply_filters('woocommerce_che...', Array) #3 /home/customer/www/MyWebsite.com/public_html/wp-content/plugins/woo-stripe-payment/includes/wc-stripe-functions.php(1238): WC_Checkout->get_checkout_fields('billing') #4 /home/customer/www/MyWebsite.com/public_html/wp-content/plugins/woo-stripe-payment/includes/class-wc-stripe-frontend-scripts.php(104): wc_stripe_get_checkout_fields() #5 /home/customer/www/MyWebsite.com/public_html/wp-includes/class-wp-hook.php(307): WC_Stripe_ in /home/customer/www/MyWebsite.com/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(484) : eval()'d code on line 7
    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    I already wrote to your email address [email protected] where I provide the real link address of my website and I would appreciate any help to this problem.
    Thank you for your time,
    Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @romonoutic

    The error message is originating from a custom code snippet that you have on your site. I’d recommend going through your custom code snippets and auditing them to ensure no exceptions are uncaught.

    Kind Regards,

    Thread Starter romonoutic

    (@romonoutic)

    Thank you very much for your reply,
    I already found the code snippet causing the problem!
    Have a great weekend!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘FATAL ERROR !!’ is closed to new replies.