• 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 47

    I’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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The message says that the fatal error is occurring in your plugin: woocommerce-gateway-paypal-advanced, so ensure that’s up-to-date. My best guess is that your version has not been updated to work with the current version of WooCommerce.

    I can’t tell exactly which plugin it is, maybe one of these:
    https://codecanyon.net/item/paypal-advanced-payment-gateway-for-woocommerce/3945577
    https://woocommerce.com/products/paypal-advanced/
    but both are commercial products so you would need to approach the vendor for assistance.

    • This reply was modified 7 years, 7 months ago by lorro.
    • This reply was modified 7 years, 7 months ago by lorro.
    • This reply was modified 7 years, 7 months ago by lorro.
    • This reply was modified 7 years, 7 months ago by lorro.
    • This reply was modified 7 years, 7 months ago by lorro.
    Thread Starter asackley

    (@asackley)

    Thank-you Lorro.
    Yes – we have “WooCommerce PayPal Payments Advanced Gateway” installed & active (version 1.3 – which is the latest available). I’ll try to reach out to the support for those areas directly.

    Is there any way to ‘roll-back’ to an older version of a plugin if something is now not compatible?

    Yes, the older versions of WooCommerce are on the net somewhere for download, but you may also have to roll back WordPress and other plugins to those of the same time period so everything is compatible. And you would be reintroducing security flaws since fixed. Don’t go there!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error on enabling WooCommerce Plugin’ is closed to new replies.