Fatal Error After Updating to WooCommerce Stripe Gateway version 5.6.0
-
My website is broken since the last update (updated it this morning) with the following fatal error: Fatal error: Cannot declare class WC_Stripe_REST_Controller, because the name is already in use in /home/customer/www/engineeringacademy.eu/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/admin/class-wc-stripe-rest-controller.php on line 0
Also what happened overnight is
1. SG security not working
2. SG optimization not working
3. Cloudflare not working
4. weird cronjob malfunction
5. statistics stopped working
6. the cart icon disappeared
7. member having the course can buy it over and over again
8. coming soon courses are displayed as launched courses and members can buy them
9. members who bought already launched courses can’t enter the course – they don’t see the button “take the course” or however it was called (the button replacing “Buy Now” after the purchase)The investigation so far shows that the problem is connected to the woocommerce and stripe which are integrated together with the theme.
I tried using a wp CLI command and I could see the following fatal error:
baseos | [email protected]:~/www/engineeringacademy.eu/public_html$ wp plugin status Fatal error: Cannot declare class WC_Stripe_REST_Controller, because the name is already in use in /home/customer/www/engineeringacademy.eu/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/admin/class-wc-stripe-rest-controller.php on line 11 <!DOCTYPE html> <html lang="en-US"> <head>...
Then instead of a list of the active plugins, I saw an html page. In the php_errorlog file in ~/www/engineeringacademy.eu/public_html I can also see the same fatal error:
[02-Oct-2021 09:27:19 UTC] PHP Fatal error: Cannot declare class WC_Stripe_REST_Controller, because the name is already in use in /home/customer/www/engineeringacademy.eu/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/admin/class-wc-stripe-rest-controller.php on line 11
It is connected with woocommerce-gateway-stripe and I need to know how to resolve this error.
It seems related to the other mentioned issues. Furthermore, the REST API does not receive an expected result this impedes the normal working of SiteGround Optimizer for example.
wp cron event run –due-now results in the same html output and fatal error:
baseos | [email protected]:~/www/engineeringacademy.eu/public_html$ wp cron event run --due-now Fatal error: Cannot declare class WC_Stripe_REST_Controller, because the name is already in use in /home/customer/www/engineeringacademy.eu/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/admin/class-wc-stripe-rest-controller.php on line 11 <!DOCTYPE html> <html lang="en-US"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="viewport" content="width=device-width"> <meta name='robots' content='max-image-preview:large, noindex, follow' /> <title>WordP...
Need help guyssss
- The topic ‘Fatal Error After Updating to WooCommerce Stripe Gateway version 5.6.0’ is closed to new replies.