Cristina Gonzalez Posted January 10, 2020 Share Posted January 10, 2020 hello, I am on version 1.7.1.4. Suddenly one of my products won´t let me edit it. Get error 500 and the same if I try to create a duplicate. I have a multishop and the problem is the same in mode Multishop or specific shop. It appears correctly on the front end. Anyone knows why this happens? All the other products I can edit normally. Am I going to be quicker if I create the product again and delete (if it lets me) the troublesome one? Link to comment Share on other sites More sharing options...
dinesh badrukhiya Posted January 11, 2020 Share Posted January 11, 2020 Enable the error reporting and share the error if shows any. Go to Advanced Parameters -> Performance section and In Debug Mode section, set the Debug mode option to Yes. Link to comment Share on other sites More sharing options...
Cristina Gonzalez Posted January 14, 2020 Author Share Posted January 14, 2020 (edited) Hi Dinesh, Looking at Log Messages, on the tab called Info & Errors, and this is the message Level INFO12:33:24 Channel request Message Matched route "admin_product_catalog" .Hide context [▼ "route" => "admin_product_catalog" "route_parameters" => [▶] "request_uri" => "https://mydomain.com/bookings/backoffice/index.php/product/catalog?_token=lPWAJp8ZB9jmZ08FyaFfuTGbn6jqF9iFxxF4D-QAByI" "method" => "GET" ] Also looking at tab called Deprecation,not sure if it is related, the log time coincides. TimeChannelMessage 12:33:24phpUser Deprecated: The "logger" service is private, getting it from the container is deprecated since Symfony 3.2 and will fail in 4.0. You should either make the service public, or stop using the container directly and use dependency injection instead. Hide context Show trace [▼ "exception" => ErrorException {#721 ▶} Edited January 14, 2020 by Cristina Gonzalez (see edit history) Link to comment Share on other sites More sharing options...
Cristina Gonzalez Posted January 16, 2020 Author Share Posted January 16, 2020 Maybe because I am on debug mode now, instead of error 500 I know get this message when trying to edit the product that is not working (1/1) OutOfMemoryException Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in OptionsResolver.php line 676 Not sure what this means.... Link to comment Share on other sites More sharing options...
JBW Posted January 16, 2020 Share Posted January 16, 2020 Yes thats the real error message, as you can see your memory is too small. You can increase it in php.ini if your hosting provider allows it (512MB is recommended). Link to comment Share on other sites More sharing options...
pixelwebmx Posted January 16, 2020 Share Posted January 16, 2020 Ask your hosting provider for a suggestion (maybe a bigger plan) Link to comment Share on other sites More sharing options...
Cristina Gonzalez Posted January 17, 2020 Author Share Posted January 17, 2020 Thank you guys, increasing the memory to 512 MB did not work, we then increased it further to 768 MB and that allowed me to get into the product but took ages to open properly. I think that that product was corrupted, probably by me doing copy pasting of product description from Word or from other parts of the front shop (I checked the description code and had a hundred lines of formatting code). Anyway, I have been able to delete that product and created it again, just in case. Any tips on copy-pasting safely??? 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