aee156 Posted February 3, 2017 Share Posted February 3, 2017 I have a couple stores on my server and out of nowhere they got this error Fatal error: Uncaught Out of memory (Needed 50331620 bytes)<br /><br /><pre> SELECT COUNT(DISTINCT l.id_lang) FROM `ps_lang` l INNER JOIN ps_lang_shop lang_shop ON (lang_shop.id_lang = l.id_lang AND lang_shop.id_shop = 1) WHERE l.`active` = 1 LIMIT 1</pre> thrown in /home/user/public_html/classes/db/Db.php on line 607 I know it is not the memory because I have my memory at 2048M and other shops on the server are running fine. I have tried checking the quota, the chmod, the ownership, commenting out the 607 line on db.php and nothing seems to make it work. I cleared the cache and cookies and it worked for a while then it went back to that error again. Link to comment Share on other sites More sharing options...
joseantgv Posted February 3, 2017 Share Posted February 3, 2017 I have a couple stores on my server and out of nowhere they got this error Fatal error: Uncaught Out of memory (Needed 50331620 bytes)<br /><br /><pre> SELECT COUNT(DISTINCT l.id_lang) FROM `ps_lang` l INNER JOIN ps_lang_shop lang_shop ON (lang_shop.id_lang = l.id_lang AND lang_shop.id_shop = 1) WHERE l.`active` = 1 LIMIT 1</pre> thrown in /home/user/public_html/classes/db/Db.php on line 607 I know it is not the memory because I have my memory at 2048M and other shops on the server are running fine. I have tried checking the quota, the chmod, the ownership, commenting out the 607 line on db.php and nothing seems to make it work. I cleared the cache and cookies and it worked for a while then it went back to that error again. Are you sure that you have 2048M for PHP processes? https://www.prestashop.com/forums/topic/275823-solved-fatal-error-uncaught-out-of-memory-needed-16777188-bytes/ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now