Tagged: woocommerce
-
AuthorPosts
-
June 19, 2023 at 2:36 am #1411031
I am running WP 6.2.2, Enfold 5.6.1, and PHP 7.3 (anything higher crashes my site).
When I activate WooCommerce it displays an error “There has been a critical error on this website. Please check your site admin email inbox for instructions”. No email is ever received. I also get an HTTP Error 500 when trying to open the Products page. This only happens when Enfold is active. The only other plugin active is SSL Insecure Content Fixer 2.7.2.
I created a fresh install to test it, with no other plugins installed. Worked fine on the base theme, but when I installed Enfold the same happened.
I have followed directions from other threads, none of which have worked, Specifically:
Added the below to htaccess –
########
php_value upload_max_filesize 50M
php_value post_max_size 50M
php_value max_execution_time 500
php_value max_input_time 500
#########And added the below to config –
define(‘WP_MEMORY_LIMIT’, ‘128M’);Urgently trying to get this working but going round in circles now. Any help appreciated.
June 19, 2023 at 8:33 am #1411038Hey philjpjohnson,
Could you share server error logs with us please? The memory limit you are adding might be a bit low, you could try to double it to see what happens then.
Best regards,
RikardJune 20, 2023 at 12:15 am #1411121Thanks for your quick response. I’ve increased memory limited in config file to 256, no difference.
Shared error log.
June 20, 2023 at 12:00 pm #1411155Hi,
Thanks for that. It looks like insufficient memory is the problem on your installation. You could try 512 for example. If that doesn’t work, then please try reaching out to your hosting provider, as changing the memory configuration in wp-config.php doesn’t always work.
Best regards,
RikardJune 22, 2023 at 1:23 am #1411321Hi Rikard, this has now been rectified. Thank you for your help!
The solution was to add the following in to the htaccess file:
RLimitMEM MAX
June 22, 2023 at 5:47 am #1411349 -
AuthorPosts
- You must be logged in to reply to this topic.