• Resolved GorillaLeads

    (@pawpawspizza)


    Howdy!
    
    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
    
    In this case, WordPress caught an error with one of your plugins, WooCommerce Stripe Gateway.
    
    First, visit your website (https://www.pawpawspizza.com/) and check for any visible issues. Next, visit the page where the error was caught (https://www.pawpawspizza.com/wp-admin/admin-ajax.php) and check for any visible issues.
    
    Please contact your host for assistance with investigating this issue further.
    
    If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.
    
    https://www.pawpawspizza.com/wp-login.php?action=enter_recovery_mode&rm_token=JvHtsLy076IRHO4LSx5ANr&rm_key=qWu5Odj3tQ4R8WWIBrWaIs
    
    To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.
    
    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.1.1
    Active theme: Divi (version 4.20.2)
    Current plugin: WooCommerce Stripe Gateway (version 7.2.0)
    PHP version 7.4.33 Error Details
    =============
    An error of type E_ERROR was caused in line 99 of the file /home/pawpawsp/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/compat/trait-wc-stripe-subscriptions-utilities.php. Error message: Uncaught Error: Class 'WC_Subscriptions_Cart' not found in /home/pawpawsp/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/compat/trait-wc-stripe-subscriptions-utilities.php:99
    Stack trace:
    #0 /home/pawpawsp/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-upe-payment-method.php(175): WC_Stripe_UPE_Payment_Method->is_subscription_item_in_cart()
    #1 /home/pawpawsp/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-upe-payment-gateway.php(393): WC_Stripe_UPE_Payment_Method->is_enabled_at_checkout(NULL)
    #2 /home/pawpawsp/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-upe-payment-gateway.php(141): WC_Stripe_UPE_Payment_Gateway->get_upe_enabled_at_checkout_payment_method_ids()
    #3 /home/pawpawsp/public_html/wp-content/plugins/woocommerce-gateway-stripe/woocommerce-gateway-stripe.php(647): WC_Stripe_UPE_Payment_Gateway->__construct()
    #4 /home/pawpawsp/
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    May I ask Which plugin is the site using for subscriptions? Which version of WooCommerce and WooCommerce database is the site using? Please be sure your database is up-to-date, you can check under WooCommerce > status > tools > update database. And then please be sure your WooCommerce and your subscriptions plugins are updated under Wp-Admin > plugins.

    Once everything is updated, please check again to see if that resolves the issue.

    You can perform the updates on a staging site first, this is in order to do not affect the live site, we recommend WP Staging for quickly spinning up a new test site.

    More info: https://woocommerce.com/document/how-to-update-woocommerce/

    Hope this helps ??

    Thread Starter GorillaLeads

    (@pawpawspizza)

    Woocommerce subscriptions, all plugins and databases are up to date.

    Thread Starter GorillaLeads

    (@pawpawspizza)

    BTW, after deactivating Woocommerce subscriptions plugin everything works fine, so dont know if stripe plugin is having issues with subscription or the subscription plugin has an issue with the stripe plugin?

    Roxy

    (@roxannestoltz)

    Hi @pawpawspizza ,

    It seems that the class WC_Subscriptions_Cart is not found in the file trait-wc-stripe-subscriptions-utilities.php on line 99, which is causing a fatal error. This error is triggered when the class is called in line 175 of the class-wc-stripe-upe-payment-method.php file.

    Since this issue relates to the WooCommerce Subscriptions extension, please can you reach out to us directly here.

    Kindly note that no support for premium extensions is done in the forum, as per the forum guidelines, however we will be happy to assist you further there ??

    You will need to log in to the account used to purchase the extension before you can access that page. Also, please include a link to this forum thread, so that they can keep track of what’s already been done.

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Crashing my site’ is closed to new replies.