Weird, try removing WC completely and install anew.
Plugin Support
slash1andy
(@slash1andy)
Automattic Happiness Engineer
Hey there!
Did you have any kind of custom code added to your site (to the theme or plugin)?
Otherwise, I would try disabling and reenabling WooCommerce to be sure.
Hopefully that helps! Have a great one!
Hi Andrew and Soft79,
Thanks for the feedback!
@slash1andy, No I don’t have any custom code on the site, all standard plugins and themes.
However, I did get it working. For anyone else stumbling onto this post with the same issue, here’s what I did:
I went into cPanel and renamed the /wp-content/plugins directory. After this I could access my wp-admin page and log in successfully. Once I logged in, I went back to cPanel file manager and renamed the /plugins directory back to /plugins. Now I went back to wp-admin (which was still open in another tab) and went into Plugins. All my plugins were there but disabled. I enabled Woocommerce first, but immediately got the error that Woocommerce could not be enabled due to a fatal error – this was without any other plugins activated.
So I went to the Woocommerce download page on WordPress.org and downloaded the installer ZIP, which I then uploaded using my cPanel file manager to the wp-content directory. I then extracted it so that it replaced all the files in the /plugins/woocommerce directory. Then, going back to wp-admin I enabled Woocommerce again and it worked. Then I enabled all my other plugins one by one and refreshed my site’s home page after each plugin was enabled to ensure that it’s still working. No further issues! I obviously immediately made a backup of my site afterwards.
The moral of the story – That tip that you always see that says “Ensure that you have a backup of your website before updating”? Yeah, turns out it’s kind of important. I lost an entire evening of sales just because I didn’t do that.
Thanks for the assistance guys!