Jump to content

Unable to delete categories... Error 500 exhausted memory


maganapro

Recommended Posts

I'm trying to delete categories on the backoffice but i get error 500.

2019/02/08 10:52:21 [error] 18037#18037: *22 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /var/www/projects/dev/magana/online-it/htdocs/classes/db/DbQuery.php on line 199
PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 32768 bytes) in /var/www/projects/dev/magana/online-it/htdocs/vendor/symfony/symfony/src/Symfony/Component/Debug/Exception/OutOfMemoryException.php on line 1
PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 163840 bytes) in Unknown on line 0" while reading response header from upstream, client: 10.10.10.150, server: ~^(?<folder>[^.]*).ps.(?<user>[^.]*).dev.example.fr, request: "POST /admin-dev/index.php?controller=AdminCategories&id_category=128&deletecategory&token=9e98c9e335dc9dec64fa3c1d9eefcdea HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "online-it.ps.magana.dev.hexis.fr", referrer: "http://online-it.ps.magana.dev.example.fr/admin-dev/index.php?controller=AdminCategories&id_category=128&deletecategory&token=9e98c9e335dc9dec64fa3c1d9eefcdea"

I increase the moery size... activate the debug mode... update and upgrade the server... edit my nginx config...

Now i'm out of ideas of what is the problem...

Any ideas ?

 

Link to comment
Share on other sites

non, actually the bug is still there....

im' unable to delete the categories. Now i'm getting :

FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/projects/dev/magana/online-it/htdocs/classes/PrestaShopCollection.php on line 711

Link to comment
Share on other sites

2019/02/11 10:36:12 [error] 18038#18038: *49731 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/projects/dev/magana/online-it/htdocs/classes/PrestaShopCollection.php on line 711
PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/projects/dev/magana/online-it/htdocs/vendor/symfony/symfony/src/Symfony/Component/Debug/ErrorHandler.php on line 629
PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 163840 bytes) in Unknown on line 0" while reading response header from upstream, client: 10.10.10.150, server: ~^(?<folder>[^.]*).ps.(?<user>[^.]*).dev.example.fr, request: "POST /admin-dev/index.php?controller=AdminCategories&id_category=12&deletecategory&token=9e98c9e335dc9dec64fa3c1d9eefcdea HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "online-it.ps.magana.dev.example.fr", referrer: "http://online-it.ps.magana.dev.example.fr/admin-dev/index.php?controller=AdminCategories&id_category=12&deletecategory&token=9e98c9e335dc9dec64fa3c1d9eefcdea"
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...