• Resolved dglasgo1

    (@dglasgo1)


    Hi – We are experiencing a critical error on a site using WooCommerce (9.33), and Braintree for WooCommerce Payment Gateway (v 3.2.1 ) and WooCommerce Subscriptions (6.7.0).

    When we go to an order that is part of a subscription whose most recent payment failed, and go to the dropdown to Retry Renewal Payment and then Updated, we are getting a critical error on the website:

    <span style=”color: rgb(0, 0, 0); font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; white-space-collapse: collapse;”>There has been a critical error on this website. Please check your site admin email inbox for instructions. There is also a link below this that says (Learn more?about troubleshooting WordPress).</span>

    A deeper look into the error logs show the error below. Any suggestions on what may be causing this? Thanks in advance!

    [08-Oct-2024 22:07:00 UTC] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /home/lifeconnectionmi/public_html/wp-content/plugins/woocommerce/includes/wc-notice-functions.php:82
    Stack trace: 0 /home/lifeconnectionmi/public_html/wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-helper.php(712): wc_add_notice(‘An error occurr…’, ‘error’) 1 /home/lifeconnectionmi/public_html/wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway.php(3024): SkyVerge\WooCommerce\PluginFramework\v5_12_0\SV_WC_Helper::wc_add_notice(‘An error occurr…’, ‘error’) 2 /home/lifeconnectionmi/public_html/wp-content/plugins/woocommerce-gateway-paypal-powered-by-braintree/vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php(362): SkyVerge\WooCommerce\PluginFramework\v5_12_0\SV_WC_Payment_Gateway->mark_order_as_failed(Object(Automattic\WooCommerce\Admin\Overrides\Order), ‘Subscription Re…’) 3 /home/lifeconnectionmi/public_html/wp-includes/class-wp-hook.php(324): SkyVerge\WooCommerce\PluginFramework\v5_12_0\SV_WC_Payment_Gateway_Integration_Subscriptions->process_renewal_payment(‘40.00’, Object(Automattic\WooCommerce\Admin\Overrides\Order)) 4 /home/lifeconnectionmi/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 5 /home/lifeconnectionmi/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 6 /home/lifeconnectionmi/public_html/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/admin/class-wcs-admin-meta-boxes.php(328): do_action(‘woocommerce_sch…’, ‘40.00’, Object(Automattic\WooCommerce\Admin\Overrides\Order)) 7 /home/lifeconnectionmi/public_html/wp-includes/class-wp-hook.php(324): WCS_Admin_Meta_Boxes::process_retry_renewal_payment_action_request(Object(Automattic\WooCommerce\Admin\Overrides\Order)) 8 /home/lifeconnectionmi/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 9 /home/lifeconnectionmi/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 10 /home/lifeconnectionmi/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-actions.php(173): do_action(‘woocommerce_ord…’, Object(Automattic\WooCommerce\Admin\Overrides\Order)) 11 /home/lifeconnectionmi/public_html/wp-includes/class-wp-hook.php(324): WC_Meta_Box_Order_Actions::save(13298, Object(WP_Post)) 12 /home/lifeconnectionmi/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 13 /home/lifeconnectionmi/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 14 /home/lifeconnectionmi/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php(263): do_action(‘woocommerce_pro…’, 13298, Object(WP_Post)) 15 /home/lifeconnectionmi/public_html/wp-includes/class-wp-hook.php(326): WC_Admin_Meta_Boxes->save_meta_boxes(13298, Object(WP_Post)) 16 /home/lifeconnectionmi/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 17 /home/lifeconnectionmi/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 18 /home/lifeconnectionmi/public_html/wp-includes/post.php(4828): do_action(‘save_post’, 13298, Object(WP_Post), true) 19 /home/lifeconnectionmi/public_html/wp-includes/post.php(4930): wp_insert_post(Array, false, true) 20 /home/lifeconnectionmi/public_html/wp-admin/includes/post.php(453): wp_update_post(Array) 21 /home/lifeconnectionmi/public_html/wp-admin/post.php(227): edit_post() 22 {main}

    thrown in /home/lifeconnectionmi/public_html/wp-content/plugins/woocommerce/includes/wc-notice-functions.php on line 82

    https://lifeconnectionmission.org/wp-admin/post.php?post=13298&action=edit

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

Viewing 1 replies (of 1 total)
  • Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hey @dglasgo1 ,

    Thanks for reaching out!

    Since the issue you’re experiencing relates to WooCommerce Subscriptions, which is a Premium extension, please contact us at?Woo.com > My Account > Support. You may need to log in with the account used to purchase the extension.

    Please include a link to this forum thread, so that we can keep track of what’s already been done. We’ll be able to help you further there.

    In the meantime, can you try running through a conflict test and see if this resolves the issue. Specifically, we’ll need to check if the issue is still present when only WooCommerce, WooCommerce Subscriptions, and Braintree for WooCommerce are active, while using a default theme, like Storefront.

    Here is more info on how to test for conflicts:? https://woo.com/document/how-to-test-for-conflicts/

    Cheers!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.