Jump to content

Error after Prestashop Upgrade


Recommended Posts

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 1149

Warning: 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

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

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

×
×
  • Create New...