Sandeep Tiwari Posted December 26, 2014 Share Posted December 26, 2014 Hello everyone I need urgent help, I am getting following errors after upgrading my prestashop from 1.5.6.2 version to latest beta version. Errors : Strict Standards: Declaration of FrontController::addCSS() should be compatible with that of FrontControllerCore::addCSS() in /home/sunilvai/public_html/newshop/override/classes/controller/FrontController.php on line 1149Warning: Cannot modify header information - headers already sent by (output started at /home/sunilvai/public_html/newshop/override/classes/controller/FrontController.php:1149) in /home/sunilvai/public_html/newshop/override/classes/controller/FrontController.php on line 755 please check the following screenshot : http://awesomescreenshot.com/05c43i02a0 Regards Link to comment Share on other sites More sharing options...
razaro Posted December 26, 2014 Share Posted December 26, 2014 Hi First error message is telling you that function needs same parameters in call public function addCSS($css_uri, $css_media_type = 'all', $offset = null, $check_path = true) and some is missing from that override file. For second error check if maybe same file /newshop/override/classes/controller/FrontController.php have few space at end. Sometimes that is causing error you got. Link to comment Share on other sites More sharing options...
El Patron Posted December 26, 2014 Share Posted December 26, 2014 you can try simply turning off PrestaShoperror reporting (assuming no functional issue wit shop) as the first is for developers and the 2nd is most likely the result of outputting the strict standard message. Link to comment Share on other sites More sharing options...
safa Posted December 26, 2014 Share Posted December 26, 2014 default prestashop not contains this file /override/classes/controller/FrontController.php likely your shop have a third party modules makes override. find this module and contact module developer. so this is not a prestahop bug . this is third party module compatibility error.. Link to comment Share on other sites More sharing options...
Sandeep Tiwari Posted December 27, 2014 Author Share Posted December 27, 2014 Thanks Safa , I just resolved it by enabling a custom theme configuration module which is provided by my premium theme. everything works after that. Link to comment Share on other sites More sharing options...
Recommended Posts