Fatal error: Uncaught Error: Class ‘WC_Payment_Gateway’
-
Hello:
I have a managed wordpress site through GoDaddy Hosting. I’m using WooCommerce plugin and after the latest update, my site is giving me a critical error and not loading. I cannot even access my admin site. I deleted the WooCommerce plugin in my GoDaddy FTP and refreshed the site however, I am receiving the error:
Class 'WC_Payment_Gateway' not found in /var/www/wp-content/mu-plugins/gd-system-plugin/plugins/mwc-core/src/WooCommerce/Payments/AbstractPaymentGateway.php:46 Stack trace: #0 /var/www/wp-content/mu-plugins/gd-system-plugin/plugins/mwc-core/vendor/composer/ClassLoader.php(478): include() #1 /var/www/wp-content/mu-plugins/gd-system-plugin/plugins/mwc-core/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile('/var/www/wp-con...') #2 [internal function]: Composer\Autoload\ClassLoader->loadClass('GoDaddy\\WordPre...') #3 /var/www/wp-content/mu-plugins/gd-system-plugin/plugins/mwc-core/src/WooCommerce/Payments/GoDaddyPaymentsGateway.php(39): spl_autoload_call('GoDaddy\\WordPre...') #4 /var/www/wp-content/mu-plugins/gd-system-plugin/plugins/mwc-core/vendor/composer/ClassLoader.php(478): include('/var/www/wp-con...') #5 /var/www/wp-content/mu-plugins/gd-system-plugin/plugins/mwc-core/vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile('/var/www/wp-con...') #6 [internal in /var/www/wp-content/mu-plugins/gd-system-plugin/plugins/mwc-core/src/WooCommerce/Payments/AbstractPaymentGateway.php on line 46
I tried disabling my mu-plugin folder however, GoDaddy is preventing it (probably for my site’s protection). I called GoDaddy and the rep stated that I can pay $100, request a help ticket and wait for my site to be looked at next week or, I can access my PHPAdmin site, watch videos and try to troubleshoot it myself. However, if I delete any tables from the MyPHPAdmin site and it breaks my website, I’m screwed.
So, while I wait for my website backup (from last week) to download, I figured I would reach out for help. I’m hoping if I restore my site to last week, all will be well however, I would like some help on figuring out how to fix or prevent this in the future.
Thanks!
The page I need help with: [log in to see the link]
- The topic ‘Fatal error: Uncaught Error: Class ‘WC_Payment_Gateway’’ is closed to new replies.