• Resolved platform81

    (@platform81)


    Hi,

    Just installed plugin into wordpress and getting the following error when I have installed it when I view the plugin: Error: WooCommerce plugin is not activated.

    Its a multisite wordpress. I have installed the plugin at network level and then tried activating manually but still no joy.

    Any ideas?

    WP 5.4
    Woocommerce v4

    Many thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor lawrenceowen

    (@lawrenceowen)

    Hi

    We use ta common way to check that WooCommerce is installed, but it seems that sometimes it can fail on multi-site installs. I will consider changing this to a warning in the future, instead of blocking the printing function completely.

    For now, you can work-around the issue, but modifying the star_cloudprnt_is_woo_activated() function found at line 4 of the create-settings.php file in our plugin. Please change the function to:

    
    function star_cloudprnt_is_woo_activated()
    {
    	return TRUE;
    }
    
    Thread Starter platform81

    (@platform81)

    Brill thats fixed it cheers

    Plugin Contributor lawrenceowen

    (@lawrenceowen)

    Great, thanks for testing so quickly.
    In case you need more details, there is some information on the WooCommerce developers site at https://docs.woocommerce.com/document/create-a-plugin/#section-1

    In particular, they state

    Note that this check will fail if the WC plugin folder is named anything other than woocommerce.

    So the real cause is probably not the multisite install, but the naming of your WooCommerce plugin folder. You may want to consider changing that instead – or potentially facing the same issue with other plugins that extend WooCommerce.

    • This reply was modified 3 years, 10 months ago by lawrenceowen.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error: WooCommerce plugin is not activated.’ is closed to new replies.