Fatal Error on enabling WooCommerce Plugin
-
I’ve recently taken over ownership of a Charity Website. No-one has touched it for a couple of years and so there was no transition or handover. I made the mistake of turning on auto-updates for plugins and went from a much older version of woocommerce to the latest (as well as updating wordpress to the latest version too).
As soon as the update occurred, the website disappeared (site not found). Through another forum I was told to go in through my hosting site CP and rename the plugin folder (which allowed me to at least see and get access to the wordpress admin pages. I then one by one enabled the plugins to work out which one was causing the issue. It turned out to be WooCommerce. AS soon as I enabled it, the site (and access to admin pages) disappeared.
Prior to the update, the site was functioning fine and we were regularly taking donations through WooCommerc (connected to PayPal). Now we cannot take donations and if I try to enable the plugin, the public site is ‘not found’ and I can’t even get to the WordPress Admin screen! This is a major issue for us as a charity as we rely on these donations via the web!
I looked in the log files and see the following Fatal Error:
[18-Sep-2016 03:26:59 UTC] PHP Fatal error: Call to undefined method WooCommerce::logger() in /home1/ucsfpart/public_html/wp-content/plugins/woocommerce-gateway-paypal-advanced/class-wc-paypal-advanced.php on line 47I’m not a developer, but I looked at the file referenced (line 47) and see this comment & code;
// enable Logs if user configures to debug
if ($this->debug==’yes’) $this->log = $woocommerce->logger();Can anyone help or make suggestions? As I mentioned, I know the basics, but am not a developer! The site is hosted with ‘BlueHost’.
Thanks in advance!
Andy
- The topic ‘Fatal Error on enabling WooCommerce Plugin’ is closed to new replies.