admin管理员组文章数量:1327849
Existing WooCommerce products are all gone and unable to install WooCommerce afresh.
The message showing while trying to install WooCommerce afresh:
Plugin could not be activated because it triggered a fatal error.
Warning: include_once(/home/splendid/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php): failed to open stream: No such file or directory in /home/splendid/public_html/wp-content/plugins/woocommerce/woocommerce.php on line 24
Warning: include_once(): Failed opening ‘/home/splendid/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php’ for inclusion (include_path=’.:/opt/alt/php72/usr/share/pear’) in /home/splendid/public_html/wp-content/plugins/woocommerce/woocommerce.php on line 24
Fatal error: Uncaught Error: Class ‘WooCommerce’ not found in /home/splendid/public_html/wp-content/plugins/woocommerce/woocommerce.php:34 Stack trace: #0 /home/splendid/public_html/wp-content/plugins/woocommerce/woocommerce.php(38): WC() #1 /home/splendid/public_html/wp-admin/includes/plugin.php(2050): include(‘/home/splendid/…’) #2 /home/splendid/public_html/wp-admin/plugins.php(175): plugin_sandbox_scrape(‘woocommerce/woo…’) #3 {main} thrown in /home/splendid/public_html/wp-content/plugins/woocommerce/woocommerce.php on line 34
Existing WooCommerce products are all gone and unable to install WooCommerce afresh.
The message showing while trying to install WooCommerce afresh:
Plugin could not be activated because it triggered a fatal error.
Share Improve this question edited May 4, 2019 at 15:48 norman.lol 3,2313 gold badges29 silver badges35 bronze badges asked May 4, 2019 at 15:09 Splendid Digital SolutionsSplendid Digital Solutions 1015 bronze badges 2 |Warning: include_once(/home/splendid/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php): failed to open stream: No such file or directory in /home/splendid/public_html/wp-content/plugins/woocommerce/woocommerce.php on line 24
Warning: include_once(): Failed opening ‘/home/splendid/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php’ for inclusion (include_path=’.:/opt/alt/php72/usr/share/pear’) in /home/splendid/public_html/wp-content/plugins/woocommerce/woocommerce.php on line 24
Fatal error: Uncaught Error: Class ‘WooCommerce’ not found in /home/splendid/public_html/wp-content/plugins/woocommerce/woocommerce.php:34 Stack trace: #0 /home/splendid/public_html/wp-content/plugins/woocommerce/woocommerce.php(38): WC() #1 /home/splendid/public_html/wp-admin/includes/plugin.php(2050): include(‘/home/splendid/…’) #2 /home/splendid/public_html/wp-admin/plugins.php(175): plugin_sandbox_scrape(‘woocommerce/woo…’) #3 {main} thrown in /home/splendid/public_html/wp-content/plugins/woocommerce/woocommerce.php on line 34
3 Answers
Reset to default 1It sounds like the plugin installation was borked for some reason. Best bet is to use FTP to transfer all plugin files from your local computer to the proper plugin folder. Check the plugin docs for help with a manual re-install so you don't overwrite a settings file, for instance.
Plugin help is best done through the plugin support area, though....not here.
Yesterday, upgraded to GoDaddy Business Hosting Plan. To my pleasant surprise today, I could activate the WooCommerce plugin. Not sure the mystery behind my earlier removal of WooCommerce, then trying to install without success.
It seems like it's a type of plugin conflict. Try these solutions:
- Update the plugin: Make sure your plugin is not outdated
- Install the plugin manually.
- Try to contact your plugin forum If you still getting this error. Try this video:- https://www.youtube/watch?v=jQijXeUKsWk&t=22s
本文标签: woocommerce offtopicPlugin could not be activated because it triggered a fatal error
版权声明:本文标题:woocommerce offtopic - Plugin could not be activated because it triggered a fatal error 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742215061a2434418.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
/home/splendid/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php
was not found. – nmr Commented May 4, 2019 at 15:29