• Resolved lincnat

    (@lincnat)


    My site went down completely after the latest Woocommerce update version 9.0.2. I cannot generate a System Status Report to submit to Technical Support because clicking on “Woocommerce” on the WordPress Dashboard only shows “There has been a critical error on this website.”

    The log section generated the below error message. Please help. Thank you!

    PHP Fatal error: Uncaught Error: Access to undeclared static property WC_Subscriptions::$version in /wordpress/plugins/woocommerce-payments/8.0.2/includes/compat/subscriptions/trait-wc-payments-subscriptions-utilities.php:119
    Stack trace: 0 /wordpress/plugins/woocommerce-payments/8.0.2/includes/compat/subscriptions/trait-wc-payments-subscriptions-utilities.php(26): WC_Payment_Gateway_WCPay->get_subscriptions_plugin_version() 1 /wordpress/plugins/woocommerce-payments/8.0.2/includes/compat/subscriptions/trait-wc-payment-gateway-wcpay-subscriptions.php(118): WC_Payment_Gateway_WCPay->is_subscriptions_enabled() 2 /wordpress/plugins/woocommerce-payments/8.0.2/includes/class-wc-payment-gateway-wcpay.php(527): WC_Payment_Gateway_WCPay->maybe_init_subscriptions() 3 /wordpress/plugins/woocommerce-payments/8.0.2/includes/class-wc-payments.php(558): WC_Payment_Gateway_WCPay->__construct(Object(WC_Payments_API_Client), Object(WC_Payments_Account), Object(WC_Payments_Customer_Service), Object(WC_Payments_Token_Service), Object(WC_Payments_Action_Scheduler_Service), Object(WCPay\Payment_Methods\CC_Payment_Method), Array, Object(WCPay\Session_Rate_Limiter), Object(WC_Payments_Order_Service), Object(WCPay\Duplicate_Payment_Prevention_Service), Object(WC_Payments_Localization_Service), Object(WC_Payments_Fraud_Service), Object(WCPay\Duplicates_Detection_Service)) 4 /wordpress/plugins/woocommerce-payments/8.0.2/woocommerce-payments.php(153): WC_Payments::init() 5 /wordpress/core/6.6.1/wp-includes/class-wp-hook.php(324): wcpay_init(”) 6 /wordpress/core/6.6.1/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 7 /wordpress/core/6.6.1/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 8 /wordpress/core/6.6.1/wp-settings.php(555): do_action(‘plugins_loaded’) 9 /srv/htdocs/wp-config.php(83): require_once(‘/wordpress/core…’) 10 /wordpress/core/6.6.1/wp-load.php(55): require_once(‘/srv/htdocs/wp-…’) 11 /wordpress/core/6.6.1/wp-blog-header.php(13): require_once(‘/wordpress/core…’) 12 /wordpress/core/6.6.1/index.php(17): require(‘/wordpress/core…’) 13 {main}

    thrown in /wordpress/plugins/woocommerce-payments/8.0.2/includes/compat/subscriptions/trait-wc-payments-subscriptions-utilities.php on line 119

Viewing 1 replies (of 1 total)
  • Zee

    (@doublezed2)

    Hello lincnat,

    Thank you for contacting Woo support.

    It looks like a fatal error is occurring due to the WooCommerce Subscriptions plugin.
    This could be due to a conflict between plugins.

    To troubleshooting error, I suggest you deactivate WooCommerce Subscriptions plugin or remove it via FTP. Then access WooCommerce again and see if that resolves the error.

    If the error is resolved by removing the WooCommerce Subscriptions plugin, I suggest you create a ticket via your WooCommerce.com account and notify WooCommerce Subscriptions support.

    Let me know how it goes.
    I am here for your support. 🙂

    Best regards.

Viewing 1 replies (of 1 total)

The topic ‘Critical Error “Access to undeclared static property”’ is closed to new replies.