• Hi,
    I am getting the error when I try to activate this plugin:
    Oops!
    WooCommerce is required for this plugin.
    Please install and activate WooCommerce and try again.

    WooCommerce is installed and active, but it is not recognising it. The only thing I can think is that the site is part of a multisite installation and network activated. This must be different than individually activated per site.

    Can this be fixed?
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter studiokb

    (@studiokb)

    It could be because of how the plugin looks to see if WooCommerce is active. Seems like network activated is different. See – https://wp-buddy.com/blog/check-wordpress-plugin-sitewide-active-network-active/

    • This reply was modified 3 years, 11 months ago by studiokb. Reason: typo
    Thread Starter studiokb

    (@studiokb)

    Hi,
    I think a work-around to activate the plugin may have worked, you de-activate WC from Netowrk, activate it from the individual site, re-activate WC from Network, BUT now there is a fatal error. It may be a conflict with another plugin. The error is:
    Fatal error: Uncaught Error: Call to undefined function is_user_logged_in() in /wp-content/plugins/wpfront-user-role-editor-business-pro/classes/personal-pro/class-wpfront-user-role-editor-custom-post-types.php:86 Stack trace: #0 /wp-includes/class-wp-hook.php(288): WPFront_User_Role_Editor_Custom_Post_Types->registered_post_type('woocustomemails', Object(WP_Post_Type)) #1 /wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters('', Array) #2 /wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /wp-includes/post.php(1439): do_action('registered_post...', 'woocustomemails', Object(WP_Post_Type)) #4 /wp-content/plugins/woo-custom-emails-per-product/admin/class-woo-custom-emails-per-product-admin-settings.php(86): register_post_type('woocustomemails', Array) #5 /wp-content/pl in /wp-content/plugins/wpfront-user-role-editor-business-pro/classes/personal-pro/class-wpfront-user-role-editor-custom-post-types.php on line 86

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cannot activate WooCommerce required’ is closed to new replies.