This kind of problem is usually caused by a conflict with your theme or with another plugin.
The best way to determine this is to:
- Temporarily switch your theme to Storefront
- Disable all plugins except for WooCommerce
- Repeat the action that is causing the problem
This is best done on a staging site. That’s a copy of your live site, so you can test things out without making changes to your actual site. Some hosting companies offer a staging site service within their hosting plans. If yours does not, there is a great free plugin that will allow you to build a complete staging site with a few button clicks: https://wordpress.org/plugins/wp-staging.
If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.
Thread Starter
ibice
(@ibice)
Hi, I’m not able to restart the WooCommerce plugin without the fatal error. (see above).
– I made a WPstaging
– used/installed Storefront (in place of Astra)
– deactivated all plugins (except Elementor)
and then activated Woocommerce with fatal error as result.
Hey @ibice
Can you try to deactivate Elementor as well to see if you can then activate WooCommerce?
If you can, make sure to update WooCommerce to version 5.2.2 and then you can try to activate Elementor again.
Thread Starter
ibice
(@ibice)
I deactivated Elementor and Elementor Pro.
Have version 5.2.2 of WooCommerce installed. (was already installed)
Unfortunetaly, cannot activate WooCommerce.
Warning: require(/customers/6/9/1/senfina.eu/httpd.www/1618587783978/wp-content/plugins/woocommerce/src/Autoloader.php): failed to open stream: No such file or directory in /customers/6/9/1/senfina.eu/httpd.www/1618587783978/wp-content/plugins/woocommerce/woocommerce.php on line 24 Fatal error: require(): Failed opening required '/customers/6/9/1/senfina.eu/httpd.www/1618587783978/wp-content/plugins/woocommerce/src/Autoloader.php' (include_path='.:/usr/share/php') in /customers/6/9/1/senfina.eu/httpd.www/1618587783978/wp-content/plugins/woocommerce/woocommerce.php on line 24
Thread Starter
ibice
(@ibice)
Hi,
I de-installed and re-installed WooCommerce
My problem is solved.
Everything works fine at the moment,
Thanks…
Hi – thanks for letting us know! If you need anything else, please feel free to open a new thread.