• Resolved madnutter

    (@madnutter)


    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.0

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

    I 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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support tijosh

    (@tijosh)

    Hey there @madnutter,

    You mentioned a child theme is in use on the site—if you activate Storefront directly, is Powerpack able to be activated successfully without errors?

    Thread Starter madnutter

    (@madnutter)

    Hi, I activated the Storefront theme before updating it but that did not help as I got the Wp error msg:

    There has been a critical error on your website. Please check your site admin email inbox for instructions.

    It seems its the plugin that does not work:

    Up your game with Storefront Powerpack and get access to host of neat gadgets that enable effortless customisation of your Storefront.

    Version 1.0.3 | By WooThemes | Visit plugin site
    This plugin failed to load properly and is paused during recovery mode.

    An error of type E_ERROR was caused in line 30 of the file /home/scbn3xvqxk77/Stage.guttervacuumsystems.co.uk/wp-content/plugins/storefront-powerpack/includes/class-sp-admin.php. Error message: 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(540): do_action(‘init’) #6 /home/scbn3xvqxk77/Stage.guttervacuumsystems.co

    Plugin Support Damianne P (a11n)

    (@drwpcom)

    Hi @madnutter. Since Storefront PowerPack is a premium extension, please contact us for help directly by email.You can submit a ticket to us on this link: https://woocommerce.com/my-account/create-a-ticket/.

    I’m going to go ahead and mark this thread as Resolved, but if you have any questions about the core WooCommerce extension, please start a new thread.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Uncaught Error: Call to undefined function is_woocommerce_activated()’ is closed to new replies.