After Update to WooCommerce Payments v3.0.0, WordPress notifies of a PHP error
-
After updating to the latest version of WooCommerce Payments, I get a WordPress error that the plugin update has caused a PHP error:
Error Details
=============
An error of type E_ERROR was caused in line 38 of the file [MY_SITE]/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Helper/class-threedsecure.php. Error message: Uncaught ArgumentCountError: Too few arguments to function WooCommerce\PayPalCommerce\Button\Helper\ThreeDSecure::__construct(), 0 passed in [MY_SITE]/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/services.php on line 162 and exactly 1 expected in [MY_SITE]/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Helper/class-threedsecure.php:38
Stack trace:
#0 [MY_SITE]/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/services.php(162): WooCommerce\PayPalCommerce\Button\Helper\ThreeDSecure->__construct()
#1 [MY_SITE]/public_html/wp-content/plugins/woocommerce-paypal-payments/vendor/dhii/containers/src/DelegatingContainer.php(116): WooCommerce\PayPalCommerce\Button\ButtonModule::WooCommerce\PayPalCommerce\Button\{closure}(Object(Dhii\Container\DelegatingContainer))
#2 [MY_SITE]/public_html/wp-c
- The topic ‘After Update to WooCommerce Payments v3.0.0, WordPress notifies of a PHP error’ is closed to new replies.