WooCommerce crashing site upon activation
-
Hello everyone,
I’m getting a 500 internal server error when i activate WooCommerce on Customizr theme (although when I change the theme to a different one the error also appears).
When I deactivate the plugin manually via FTP (because I can’t access the site or the wp-admin when the plugin is active) this error shows up:
Fatal error: Call to undefined function WC() in /wp-content/themes/customizr/core/front/models/header/parts/class-model-woocommerce_cart.php on line 30
I know next to nothing about PHP, so I have no idea what can casue this problem.
I’m using Mozilla Firefox or on a Windows 10 64bit PC. But I’ve also had this error when using Google Chrome on Windows 7.
Here is my system info:
# IS MULTISITE : No # THEME | VERSION : customizr | v4.1.4# WP VERSION : 4.9.5 # PERMALINK STRUCTURE : /%postname%/ # ACTIVE PLUGINS : Polylang: 2.3.5 Wordfence Security: 7.1.4 WPBakery Visual Composer: 4.11.1 Yoast SEO: 7.4.2 PHP Version: 5.3.29 MySQL Version: 5.7.19-17-log Web Server Info: IdeaWebServer/0.83 (like Apache) WordPress Memory Limit: 40MB PHP Memory Limit: 256M PHP Upload Max Size: 64M PHP Post Max Size: 64M PHP Upload Max Filesize: 64M PHP Time Limit: 30 PHP Max Input Vars: 1000 PHP Arg Separator: & PHP Allow URL File Open: Yes WP_DEBUG: Disabled Show On Front: page Page On Front: Homepage (#4953) Page For Posts: News (#4960)
I’ve got no solution from the theme support or from any other forum topics I’ve went through that had similar problems.
Thanks in advance for any help!
- The topic ‘WooCommerce crashing site upon activation’ is closed to new replies.