Uncaught Error: Call to undefined function is_woocommerce_activated()
-
Hi,
I’ve just taken on a site recently and it had a number of outdated plugins so I set up a staged area to run through these plugins. I recall all plugin worked on update apart from those that required a renewal key.The Main theme Storefront required an update (Child theme is in use) – So when the Storefront theme got updated the site was inaccessible due to WP detecting an error.
Current versions are:
Storefront the v2.3.2 -> 2.6.0
Storefront Powerpack v1.0.3 -> 1.5.0I believe that the Storefront Powerpack caused the problem because on disabling the plugin the site was then accessible if I recall correctly.
Full error:
[22-Aug-2020 08:56:37 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_woocommerce_activated() in /home/scbn3xvqxk77/Stage.guttervacuumsystems.co.uk/wp-content/plugins/storefront-powerpack/includes/class-sp-admin.php:30
Stack trace:
#0 /home/scbn3xvqxk77/Stage.guttervacuumsystems.co.uk/wp-content/plugins/storefront-powerpack/includes/class-sp-admin.php(256): SP_Admin->__construct()
#1 /home/scbn3xvqxk77/Stage.guttervacuumsystems.co.uk/wp-content/plugins/storefront-powerpack/storefront-powerpack.php(108): include_once(‘/home/scbn3xvqx…’)
#2 /home/scbn3xvqxk77/Stage.guttervacuumsystems.co.uk/wp-includes/class-wp-hook.php(287): Storefront_Powerpack->includes(”)
#3 /home/scbn3xvqxk77/Stage.guttervacuumsystems.co.uk/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#4 /home/scbn3xvqxk77/Stage.guttervacuumsystems.co.uk/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#5 /home/scbn3xvqxk77/Stage.guttervacuumsystems.co.uk/wp-settings.php(546): do_action(‘init’)
#6 /home/scbn3xvqxk77/Stage.guttervacuumsystems.co in /home/scbn3xvqxk77/Stage.guttervacuumsystems.co.uk/wp-content/plugins/storefront-powerpack/includes/class-sp-admin.php on line 30I have reset the staging site and was hoping to see if there is a workaround before trying to update the theme again? Or do we need to purchase another key for the Powerpack plugin to get around this
thanks for any help in advance
- The topic ‘Uncaught Error: Call to undefined function is_woocommerce_activated()’ is closed to new replies.