Support » Plugin: WooCommerce Stripe Payment Gateway » Update 7.01 Caused Critical Error

  • Resolved jembalino


    Just updated to 7.01 and it caused the site to crash. I will check error logs and update shortly.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter jembalino


    Error log:

    2022/11/11 11:55:21 [error] 1063#1063: *30013 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: Argument 1 passed to WC_Stripe_UPE_StripeLink_Note::init() must be an instance of WC_Stripe_UPE_Payment_Gateway, instance of WC_Gateway_Stripe given, called in /var/www/***************/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/admin/class-wc-stripe-inbox-notes.php on line 58 and defined in /var/www/***************/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/notes/class-wc-stripe-upe-stripelink-note.php:75


    Plugin Support Saif (woo-hc)


    Hello @jembalino,

    Could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.  Once you’ve done that, paste it here in your response.

    Look forward to hearing back from you.

    Plugin Support Doug – a11n


    Automattic Happiness Engineer

    Hi @jembalino

    I’ve asked one of our Engineers for some help with this one.

    We’ve not been able to replicate it and our best guess currently is an incomplete update.

    This is odd, the function is defined here:
    public static function init( WC_Stripe_Payment_Gateway $gateway ) {

    The Argument 1 is not defined as WC_Stripe_UPE_Payment_Gateway.
    And the instance used on the call is WC_Gateway_Stripe, and it extends WC_Stripe_Payment_Gateway.

    I appreciate that last part may not mean anything to you but essentially it means the error doesn’t match the code listed/reference.

    Can I ask if you’re able to delete and reinstall the plugin?


    Thread Starter jembalino


    Hi Doug,
    Thanks for your reply. Yes, I will attempt to install again. I dropped back to 6.9 but I’ll give it another go. Unfortunately, I can’t provide the system report as it fails. I’ll update in a while, I’ve gotta walk the dog 🙂

    Hello, @jembalino sure take your time and let us know how that goes!

    Thread Starter jembalino


    Hi Saif/Doug/Amir,
    I’ve just installed 7.01 again and it works fine with no errors. I apologise, I should’ve attempted a reinstall before opening a ticket. (Lesson learnt) There must have been some corruption at download/upload. Thanks very much for your quick support, I appreciate it. This can be marked as resolved.
    All the best

    Hi @jembalino

    I’m glad reinstalling the plugin resolved your previous issue and thanks for sharing it with the community too! 🙂

    Meanwhile, if you have a few minutes, we’d love it if you could leave us a review:


Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Update 7.01 Caused Critical Error’ is closed to new replies.