olesen Posted August 20, 2020 Share Posted August 20, 2020 (edited) Hello Prestashop ver: 1.7.6.7 On the administration side I get a lot of errors 😞 Oops! An Error Occurred The server returned a "500 Internal Server Error". Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused. From log<? php / *** 2012-2015 Patryk Marek PrestaDev.pl ** Patryk Marek PrestaDev.pl - PD Email Attachments Pro © All rights reserved. ErrorHandler-> handleError (2, 'Declaration of Mail :: send ($ id_lang, $ template, $ subject, $ template_vars, $ to, $ to_name = NULL, $ from = NULL, $ from_name = NULL, $ file_attachment = NULL, $ mode_smtp = NULL, $ template_path = _PS_MAIL_DIR_, $ die = false, $ id_shop = NULL, $ bcc = NULL, $ reply_to = NULL) should be compatible with MailCore :: send ($ idLang, $ template, $ subject, $ templateVars , $ to, $ toName = NULL, $ from = NULL, $ fromName = NULL, $ fileAttachment = NULL, $ mode_smtp = NULL, $ templatePath = _PS_MAIL_DIR_, $ die = false, $ idShop = NULL, $ bcc = NULL, $ replyTo = NULL, $ replyToName = NULL) ',' /var/www/www.nordsmark.com/www/override/classes/Mail.php ', 0, array (' className '=>' Mail ',' classDir ' => '/var/www/www.nordsmark.com/www/')) in classes / PrestaShopAutoload.php (line 152)         if (isset ($ this-> index [$ className. 'Core'])) {require_once $ this-> root_dir. $ this-> index [$ className. 'Core'] ['path']; } if (isset ($ this-> index [$ className])) {require_once $ classDir. $ this-> index [$ className] ['path']; }}} elseif (isset ($ this-> index [$ className] ['path']) && $ this-> index [$ className] ['path']) {// Call directly ProductCore, ShopCore class require_once $ this -> root_dir. $ this-> index [$ className] ['path'];  Hope you have an idea of what I should / can search for 🙂 Edited August 26, 2020 by olesen (see edit history) Link to comment Share on other sites More sharing options...
olesen Posted August 20, 2020 Author Share Posted August 20, 2020 Link to comment Share on other sites More sharing options...
musicmaster Posted August 20, 2020 Share Posted August 20, 2020 Obviously this comes from an override. That means that some module is involved. So you should fix or remove that module  Link to comment Share on other sites More sharing options...
olesen Posted August 21, 2020 Author Share Posted August 21, 2020 Hello Thanks for the reply. Now I do not get any more errors in debug mode. But in BO there are still many pages where I get an error 500, if I not are running in debug mode?   I have try to rebuild the .htaccess file, and cleare the cache, but no change. Disable non PrestaShop modules, no change. Disable all overrides, no change.  Do you have an idea of what this may be due to?  Link to comment Share on other sites More sharing options...
musicmaster Posted August 23, 2020 Share Posted August 23, 2020 Look in the error log what those 500s mean Link to comment Share on other sites More sharing options...
olesen Posted August 26, 2020 Author Share Posted August 26, 2020 I think the problem's the Prestashop cache..... So I tried to delete two folders below and my site works normally now. -"/app/cache/dev" -"/app/cache/prod" 🙂 1 Link to comment Share on other sites More sharing options...
Faisal Latif Posted November 9, 2020 Share Posted November 9, 2020 I am facing this type of error please help out in this case Link to comment Share on other sites More sharing options...
SmartDataSoft Posted July 11, 2021 Share Posted July 11, 2021 I also face this kind of issue in mamp local server while development. @olesen solution help me to resolve. Thank you for your answer Link to comment Share on other sites More sharing options...
Ana B Posted January 10, 2023 Share Posted January 10, 2023 On 8/26/2020 at 9:37 AM, olesen said: I think the problem's the Prestashop cache..... So I tried to delete two folders below and my site works normally now. -"/app/cache/dev" -"/app/cache/prod" 🙂 Where can I find this folders in the file manager? Link to comment Share on other sites More sharing options...
kostas123 Posted November 14, 2023 Share Posted November 14, 2023 On 1/10/2023 at 11:23 AM, Ana B said: Where can I find this folders in the file manager? /public_html/var/cache here 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