Mihai Posted March 4, 2019 Share Posted March 4, 2019 (edited) Hi. Have some problem with last prestashop 1.7.5.1 When i want to open new page with products or i want to sort by .. i have( chrome consule) and page not open. error: Failed to load resource: the server responded with a status of 500 (Internal Server Error) If i use right click and open in new tab, page is open. Prestashop error log: Stack trace: #0 /home/roanditur/public_html/override/classes/controller/ProductListingFrontController.php(20): PrestaShop\PrestaShop\Adapter\Presenter\AbstractLazyArray->offsetUnset('id') #1 /home/roanditur/public_html/classes/controller/ProductListingFrontController.php(506): ProductListingFrontController->prepareProductArrayForAjaxReturn(Array) #2 /home/roanditur/public_html/controllers/front/listing/CategoryController.php(159): ProductListingFrontControllerCore->getAjaxProductSearchVariables() #3 /home/roanditur/public_html/classes/controller/ProductListingFrontController.php(541): CategoryControllerCore->getAjaxProductSearchVariables() #4 /home/roanditur/public_html/controllers/front/listing/CategoryController.php(137): ProductListingFrontCont in /home/roanditur/public_html/src/Adapter/Presenter/AbstractLazyArray.php on line 370 I have try to reinstall last version.The same problem. Video witch this problem: https://youtu.be/7UvXWWE0D8E Edited March 4, 2019 by Mihai video (see edit history) Link to comment Share on other sites More sharing options...
OctagonMD Posted March 8, 2019 Share Posted March 8, 2019 Hello, Can you recreate this error using a different theme? Also could you post PHP Fatal error message? Link to comment Share on other sites More sharing options...
Mihai Posted March 8, 2019 Author Share Posted March 8, 2019 Hi. This is not theme error. I have fix this. Thx Link to comment Share on other sites More sharing options...
OctagonMD Posted March 8, 2019 Share Posted March 8, 2019 Could you please post a solution in case others have the same problem? Link to comment Share on other sites More sharing options...
Mihai Posted March 8, 2019 Author Share Posted March 8, 2019 10 minutes ago, OctagonMD said: Could you please post a solution in case others have the same problem? I have remove this line: public_html/override/classes/controller/ProductListingFrontController.php(20): line 20 of this error Link to comment Share on other sites More sharing options...
ArsalanAnsari Posted June 10, 2019 Share Posted June 10, 2019 hi, i am facing that same issue. i can't see your solution. will you please post details. which line you removed. Link to comment Share on other sites More sharing options...
ArsalanAnsari Posted June 10, 2019 Share Posted June 10, 2019 oh man you are good, i have solved the problem, it was in override folder. thanks mate. 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