Whispar1 Posted March 29, 2013 Share Posted March 29, 2013 (edited) 1.5.3.1 I ran across this area in the FO when testing "my favorites" Warning: Function displayHeader() is deprecated in /xxxxxi/xxxxx/header.php on line 39 in /xxxxx/xxxxx/classes/Tools.php on line 1777 Line 39 of header.php $controller->displayHeader(); Line 1777 of Tools.php trigger_error('Function <b>'.$callee['function'].'()</b> is deprecated in <b>'.$callee['file'].'</b> on line <b>'.$callee['line'].'</b><br />', E_USER_WARNING); $message = 'The function '.$callee['function'].' (Line '.$callee['line'].') is deprecated and will be removed in the next major version.'; Could not find a fix on gitHub. Any thoughts? Edited March 29, 2013 by Whispar1 (see edit history) Link to comment Share on other sites More sharing options...
Whispar1 Posted April 12, 2013 Author Share Posted April 12, 2013 (edited) There was an early fix in 1.5.0 changelog #PSFV-636 - Remove warnings lile "Warning: Function displayHeader() is deprecated" with module blockwishlist but still getting this message. Anyone else getting this? Edited April 12, 2013 by Whispar1 (see edit history) Link to comment Share on other sites More sharing options...
Smijn1 Posted August 30, 2013 Share Posted August 30, 2013 Hi, did you find a solution for this in the meantime? I'm having the same issue.. Link to comment Share on other sites More sharing options...
vekia Posted August 31, 2013 Share Posted August 31, 2013 you use the same version as whispar? Link to comment Share on other sites More sharing options...
Smijn1 Posted August 31, 2013 Share Posted August 31, 2013 oh, no I'm using 1.5.4.1., gotta learn to remember to add the version I'm using to my posts.. Link to comment Share on other sites More sharing options...
vekia Posted August 31, 2013 Share Posted August 31, 2013 well, to be honest, this isn't warning / error from php, It's warning from prestashop engine which informs that your header use deprecated function. You can disable these messages in config/defines.inc.php you've got there line: define('_PS_DISPLAY_COMPATIBILITY_WARNING_', true); change it to: define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false); btw. you use 1.5.4.1 from the beggining or it is updated store? Link to comment Share on other sites More sharing options...
Recommended Posts