• Resolved wnorth

    (@wnorth)


    After updating to 5.6 I get wordpress critical error when trying to edit elementor pages.

Viewing 11 replies - 1 through 11 (of 11 total)
  • v 5.6 is causing a lot of issues for multiple plugins for us. Do not recommend updating to this version until patched.

    Plugin Support Thu P. a11n

    (@thup90)

    Hi @wnorth ,

    What error are you getting with Stripe 5.6? Could you copy/ paste the full content of the error in your reply so we can take a look?

    Also, would you mind sharing your System Status Report, it would help us to understand your site setup a bit better. 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 reply.

    Hi @wmacmill,

    To better help with your issues, could you create a separate thread and provide us with the details?

    • This reply was modified 4 years, 8 months ago by Thu P. a11n.

    Yep getting this also on one client that I know of after updating:

    [01-Oct-2021 12:48:06 UTC] PHP Fatal error:  Cannot declare class WC_Stripe_REST_Controller, because the name is already in use in /nas/content/live/website/wp-content/plugins/woocommerce-gateway-stripe/includes/admin/class-wc-stripe-rest-controller.php on line 11
    [01-Oct-2021 12:48:12 UTC] PHP Deprecated:  Function create_function() is deprecated in /nas/content/live/website/wp-content/plugins/eps-super-search/widget.super_search.php on line 166
    [01-Oct-2021 12:48:12 UTC] PHP Deprecated:  Function create_function() is deprecated in /nas/content/live/website/wp-content/plugins/eps-super-search/widget.super_search.php on line 166
    [01-Oct-2021 12:48:12 UTC] PHP Deprecated:  Function create_function() is deprecated in /nas/content/live/website/wp-content/plugins/php-code-widget/execphp.php on line 62
    [01-Oct-2021 12:48:12 UTC] PHP Deprecated:  Function create_function() is deprecated in /nas/content/live/website/wp-content/plugins/simple-news-ticker/simple-news-ticker.php on line 302
    [01-Oct-2021 12:48:12 UTC] PHP Deprecated:  Function create_function() is deprecated in /nas/content/live/website/wp-content/plugins/php-code-widget/execphp.php on line 62
    [01-Oct-2021 12:48:12 UTC] PHP Deprecated:  Function create_function() is deprecated in /nas/content/live/website/wp-content/plugins/simple-news-ticker/simple-news-ticker.php on line 302
    [01-Oct-2021 12:48:12 UTC] PHP Deprecated:  The called constructor method for WP_Widget in EPS_Super_Search_Widget is <strong>deprecated</strong> since version 4.3.0! Use <code>__construct()</code> instead. in /nas/content/live/website/wp-includes/functions.php on line 5304
    [01-Oct-2021 12:48:12 UTC] PHP Deprecated:  The called constructor method for WP_Widget in EPS_Super_Search_Widget is <strong>deprecated</strong> since version 4.3.0! Use <code>__construct()</code> instead. in /nas/content/live/website/wp-includes/functions.php on line 5304

    Same thing. Critical errors:

    PHP Fatal error: Uncaught TypeError: Argument 1 passed to WC_REST_Stripe_Settings_Controller::__construct() must be an instance of WC_Stripe_Payment_Gateway, null given

    mwhyo

    (@markwmarkwphotocom)

    Also getting this error and can’t edit any Elementor Pages unless I disable the Woocommerce Stripe Gateway plugin.

    Error Details:

    An error of type E_ERROR was caused in line 34 of the file xxx/wp-content/plugins/woocommerce-gateway-stripe/includes/admin/class-wc-rest-stripe-settings-controller.php. Error message: Uncaught TypeError: Argument 1 passed to WC_REST_Stripe_Settings_Controller::__construct() must be an instance of WC_Stripe_Payment_Gateway, null given, called in xxx/wp-content/plugins/woocommerce-gateway-stripe/woocommerce-gateway-stripe.php on line 599 and defined in xxx/wp-content/plugins/woocommerce-gateway-stripe/includes/admin/class-wc-rest-stripe-settings-controller.php:34
    Stack trace:
    #0 xxx/wp-content/plugins/woocommerce-gateway-stripe/woocommerce-gateway-stripe.php(599): WC_REST_Stripe_Settings_Controller->__construct()
    #1 xxx/wp-includes/class-wp-hook.php(303): WC_Stripe->register_routes()
    #2 xxx/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
    #3 xxx/wp-includes/plugin.php(470): WP_Hook->do
    Plugin Support frosso1 (a11n)

    (@frosso1)

    Thanks for the reports on the error on WC_REST_Stripe_Settings_Controller->__construct()!

    We started investigating and are tracking the issue here: https://github.com/woocommerce/woocommerce-gateway-stripe/issues/2019

    mwhyo

    (@markwmarkwphotocom)

    Thanks for the update! Rollback to 5.5.0 is working for now.

    Plugin Support Chris Moreira – a11n

    (@chrism245)

    Glad to hear it @markwmarkwphotocom – thanks for letting us know!

    We will keep investigating this issue here: https://github.com/woocommerce/woocommerce-gateway-stripe/issues/2019/.

    I’ll mark this thread as resolved now. If you have any further questions, I recommend creating a new thread.

    Plugin Support frosso1 (a11n)

    (@frosso1)

    @johnegg thanks for that report as well!

    It looks like the issue might be related to a naming conflict with another Stripe plugin.
    I created a quick fix to resolve the naming conflict: https://github.com/woocommerce/woocommerce-gateway-stripe/pull/2020

    Plugin Support frosso1 (a11n)

    (@frosso1)

    Thanks all for your patience!
    We identified the problem causing Uncaught TypeError: Argument 1 passed to WC_REST_Stripe_Settings_Controller::__construct() must be an instance of WC_Stripe_Payment_Gateway, null given.
    It seems to be related to using WooFunnels Funnel Builder (sometimes alongside with Elementor).

    We identified a possible solution, which can be tracked here: https://github.com/woocommerce/woocommerce-gateway-stripe/issues/2019

    Once the ticket is “Closed”, it generally means that a solution is ready and will be released shortly.

    Again, thanks for your patience, have a great start of your weekend!

    Great thanks

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Version 5.6 Critical error with Elementor’ is closed to new replies.