Quote from charlie-cammack on February 4, 2021, 13:07
Hi there,
After activating the plugin, I go to the settings page (/wp-admin/edit.php?post_type=product&page=woobe) but it throws a 500 error constantly. I then check the logs and its related to a memory exhausting limit. The following is taken from my error-log file:
2021/02/04 10:48:05 [error] 97867#97867: *4987 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 24576 bytes) in XXX while reading response header from upstream, client: XXX, server: XXX, request: "GET /wp-admin/edit.php?post_type=product&page=woobe HTTP/1.0", upstream: "fastcgi://unix:/var/run/php7.3-fpm-XXX.sock:", host: "XXX", referrer: "XXX/wp-admin/"
I can fix this by adding the following to my wp-config.php file:
define('WP_MAX_MEMORY_LIMIT', '1024M');
define('WP_MAX_MEMORY_LIMIT', '2048M');
However, this isn't really a solution for me as my hosting provider has said this will not work when I push to my actual production server as they are overwriting these settings.
Thanks.
Hi there,
After activating the plugin, I go to the settings page (/wp-admin/edit.php?post_type=product&page=woobe) but it throws a 500 error constantly. I then check the logs and its related to a memory exhausting limit. The following is taken from my error-log file:
2021/02/04 10:48:05 [error] 97867#97867: *4987 FastCGI sent in stderr:"PHP message: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 24576 bytes) in XXX while reading response header from upstream, client: XXX, server: XXX, request:"GET /wp-admin/edit.php?post_type=product&page=woobe HTTP/1.0", upstream:"fastcgi://unix:/var/run/php7.3-fpm-XXX.sock:", host:"XXX", referrer:"XXX/wp-admin/"
I can fix this by adding the following to my wp-config.php file:
define('WP_MAX_MEMORY_LIMIT', '1024M');
define('WP_MAX_MEMORY_LIMIT', '2048M');
However, this isn't really a solution for me as my hosting provider has said this will not work when I push to my actual production server as they are overwriting these settings.
Thanks.