• Resolved cvaalbany

    (@cvaalbany)


    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]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @cvaalbany,

    It appears to be an issue with the gd-system-plugin under folder mu-plugins that may be conflicting with the latest version of WooCommerce.

    You’ll want to verify if an update exists for that must-use plugin which may help solve the issue. A mu-plugin cannot be deactivated in the Plugins page of your WordPress dashboard. It will always be executed, unless it is uninstalled/deleted.

    Let us know if you have further questions.

    Thread Starter cvaalbany

    (@cvaalbany)

    Thanks for your response and tip. I ended up restoring my site to (2) days before this debacle and not updating woocommerce after the restore at least until after my event.

    ~ Christine

    Mirko P.

    (@rainfallnixfig)

    Hi there,

    Thanks for the update.

    You’ll want to make sure you’re running one of the Patched WooCommerce versions to prevent security vulnerabilities. More details here: https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/

    You could also follow up with GoDaddy on the gd-system-plugin which seems to be the root cause of the error.

    I’m going to mark this as resolved. Feel free to start a new thread if you have any more questions!

    Cheers.

    hello
    i have the same issue. can u please tell me what are exact steps u followed? iam also managing my website through godaddy. this has a been headache for me lol

    Thread Starter cvaalbany

    (@cvaalbany)

    Hi– Sorry to hear.
    1. I went to my GoDaddy Account and went to my products page. I then found my managed wordpress section and clicked ‘Manage’
    2. On the next page, I clicked the ‘Overview’ button.
    3. In the top ribbon, click on ‘Backups’.
    4. In the backup history section, I selected a date before my site went down with the critical error and then selected ‘Download Backup’
    5. I chose “Download All” for download type and waited the length of time needed to download everything.
    6. Once this was complete, I made sure that the date I picked was still showing on the screen and selected ‘Restore’
    7. I waited for the site to restore and once completed, gave it a few minutes.
    8. I cleared cached images and files as well as cookies on my laptop and phone.
    9. Typed in my website URL and saw my site up and running. I was finally able to get back into my admin site too.
    10. I made sure I updated my plugins (if necessary) BUT, I didn’t update Woo Commerce…

    But, now, Im working with someone @ GoDaddy based on what Mirko P posted to make sure everything is running as normal and there aren’t security issues.

    Good luck!

    Mirko P.

    (@rainfallnixfig)

    Hi @dulana,

    I hope the steps mentioned by @cvaalbany will help you solve the issue. If not, please open a new thread, send over your System Status report and any Fatal error you may encounter on your logs. We’ll be happy to help you there.

    Thanks!

    Hi @cvaalbany ,

    I had been facing the exact same problem 2 days ago. I updated the plugin, and it showed a critical error. I also consulted GoDaddy Guides, and they deactivated my plugins and main theme. After a while, when I could access my half-functioning dashboard, I again activated WooCommerce, and it (again) broke my site.
    Thanks to you, I restored my backup through GoDaddy, and I can finally access my dashboard.
    But I am afraid to update WooCommerce or change it in any way, because the last time I had updated it, it broke my site.
    You said, “

    BUT, I didn’t update Woo Commerce


    It would be really helpful if you could tell me if you solved anything regarding this? I do not update the plugin, however, it is always recommended to do so and my updates are piling up. Are you able to update/access without facing any issues? If so, did you hire a professional to debug?
    As I said, it would really help me.
    Thanks,
    AR

    Mirko P.

    (@rainfallnixfig)

    Hi @ar07,

    Please create your own thread for your issue, as there’s an extremely high chance you have a different configuration. We want to make sure that everyone’s issues receive their own thread with proper attention.

    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fatal error: Uncaught Error: Class ‘WC_Payment_Gateway’’ is closed to new replies.