WooCommerce PayPal Payments breaks wordpress
-
Recently I noticed that Paypal was not given anymore as a payment possibility to hte customeres. I get into the admin site and found it disabled (don’t know why).
Anyway, I reactivated it and … crash!
It looks like the plugin was updated 2 weeks ago and is “Compatible with your version of WordPress” (according to the plugin page).
Note that I did not upgrade anything but jetpack in the last weeks.
Here is the log:
An error of type E_ERROR was caused in line 66 of the file .../sites/andlay.org/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Gateway/OXXO/OXXO.php. Error message: Uncaught TypeError: Argument 1 passed to WooCommerce\PayPalCommerce\WcGateway\Gateway\OXXO\OXXO::WooCommerce\PayPalCommerce\WcGateway\Gateway\OXXO\{closure}() must be of the type array, null given, called in .../sites/andlay.org/wp-includes/class-wp-hook.php on line 308 and defined in .../sites/andlay.org/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Gateway/OXXO/OXXO.php:66 Stack trace: #0 .../sites/andlay.org/wp-includes/class-wp-hook.php(308): WooCommerce\PayPalCommerce\WcGateway\Gateway\OXXO\OXXO->WooCommerce\PayPalCommerce\WcGateway\Gateway\OXXO\{closure}(NULL) #1 .../sites/andlay.org/wp-includes/plugin.php(205): WP_Hook->apply_filters(NULL, Array) #2 .../sites/andlay.org/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(163): apply_filters('woocommerce_ava...', Array) #3 .../sites/andlay.org/wp-content/plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/Payments.php(89): WC_Payment_Gateways->get_available
The page I need help with: [log in to see the link]
- The topic ‘WooCommerce PayPal Payments breaks wordpress’ is closed to new replies.