Version 2.8.0 broken?
-
Something seems to be up with 2.8.0. As soon as I upgraded, settings for currency display broke, and I received this fatal error from the WordPress install itself:
Error Details ============= An error of type E_ERROR was caused in line 45 of the file /home/l561098/public_html/jimdemo/wp-content/plugins/woocommerce-payments/includes/admin/class-wc-rest-payments-orders-controller.php. Error message: Uncaught ArgumentCountError: Too few arguments to function WC_REST_Payments_Orders_Controller::__construct(), 2 passed in /home/l561098/public_html/jimdemo/wp-content/plugins/woocommerce-payments/includes/class-wc-payments.php on line 712 and exactly 3 expected in /home/l561098/public_html/jimdemo/wp-content/plugins/woocommerce-payments/includes/admin/class-wc-rest-payments-orders-controller.php:45 Stack trace: #0 /home/l561098/public_html/jimdemo/wp-content/plugins/woocommerce-payments/includes/class-wc-payments.php(712): WC_REST_Payments_Orders_Controller->__construct(Object(WC_Payments_API_Client), Object(WCPay\Payment_Methods\CC_Payment_Gateway)) #1 /home/l561098/public_html/jimdemo/wp-includes/class-wp-hook.php(303): WC_Payments::init_rest_api(Object(WP_REST_Server)) #2 /home/l561098/public_html/jimdemo/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array) #3 /home/l561098/public_html/jimdemo/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #4 /home/l561098/public_html/jimdemo/wp-
So I’m disabling WooCommerce Payments, at least for now. To be honest, I couldn’t see any advantage to using it anyway.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Version 2.8.0 broken?’ is closed to new replies.