• I can install WooCommerce on my site without any issues, but when I try to activate it, I get:

    Plugin could not be activated because it triggered a fatal error.

    Fatal error: Call to undefined method CSSMin::minify() in /home4/*********/public_html/wp-content/plugins/woocommerce/includes/admin/wc-admin-functions.php on line 194

    ( Obviously, I’ve replaced the account name with *********** )

    I once had it activate using WordPress 4.0 and it seemed to be OK, so I think this problem started with the 4.1 update. It sounds like a possible theme issue, but I don’t know where to start.

    Any suggestions would be greatly appreciated.

    Many thanks,

    Florian

    https://ww.wp.xz.cn/plugins/woocommerce/

Viewing 1 replies (of 1 total)
  • Hi Florian,

    You should try reverting your website first 4.0 and clone your website on a staging environment. Your staging site should have the same specifications as your live site. What PHP version are you using?

    If the problem is for that class, maybe the copy of your WooCommerce is missing some files.

    I have found a discussion related to this class before, you may want to check it out: https://ww.wp.xz.cn/support/topic/fatal-error-woocommerce?replies=6

Viewing 1 replies (of 1 total)

The topic ‘Cannot activate WooCommerce plugin after plugin install’ is closed to new replies.