• Resolved Brett Donald

    (@brettdonald)


    Received the following error after updating from 5.5 to 5.6.2:

    An error of type E_ERROR was caused in line 25 of the file /nas/content/live/litmin/wp-content/plugins/woocommerce-gateway-stripe/includes/admin/class-wc-stripe-settings-controller.php. Error message: Uncaught ArgumentCountError: Too few arguments to function WC_Stripe_Settings_Controller::__construct(), 0 passed in /nas/content/live/litmin/wp-content/plugins/woocommerce-gateway-stripe/woocommerce-gateway-stripe.php on line 191 and exactly 1 expected in /nas/content/live/litmin/wp-content/plugins/woocommerce-gateway-stripe/includes/admin/class-wc-stripe-settings-controller.php:25
    Stack trace:
    #0 /nas/content/live/litmin/wp-content/plugins/woocommerce-gateway-stripe/woocommerce-gateway-stripe.php(191): WC_Stripe_Settings_Controller->__construct()
    #1 /nas/content/live/litmin/wp-content/plugins/woocommerce-gateway-stripe/woocommerce-gateway-stripe.php(125): WC_Stripe->init()
    #2 /nas/content/live/litmin/wp-content/plugins/woocommerce-gateway-stripe/woocommerce-gateway-stripe.php(76): WC_Stripe->__construct()
    #3 /nas/content/live/litmin/wp-content/plugins/woocommerce-gateway-stripe/woocommerce-gateway-stripe.php(573): WC_Stripe::get_instance()
    #4 /nas/content/live/litmin/wp-content/plugins/woocommerce-gateway-s

Viewing 1 replies (of 1 total)
  • Hi @brettdonald – That’s not an error message I’ve seen recently. It looks like the full error is cut off. Can you find and send us the full error?

    You can find those by going to the following page in your admin dashboard: 'WooCommerce > Status > Logs'
    Once there, look for the dropdown on the right-side of the page to select different log files, like shown here: https://d.pr/i/U25qh2 (should be a ‘fatal errors log)

    Also, can you send us a copy of your site’s system status report? You can find that at: WP Dashboard > WooCommerce > Status > 'Get system report'

Viewing 1 replies (of 1 total)
  • The topic ‘Error in Stripe Settings Controller’ is closed to new replies.