Jump to content

errors and bugs


Recommended Posts

Can anyone help me fix these? Thanks in advance. This is the debug output from my front end. I changed themes and all I got was a blank white screen when I went to the front end...

 

 

 

Warning: Function addCSS() is deprecated in C:\xampp\htdocs\prestashop\modules\blockcurrencies\blockcurrencies.php on line 73

in C:\xampp\htdocs\prestashop\classes\Tools.php on line 1845

 

Warning: Function addCSS() is deprecated in C:\xampp\htdocs\prestashop\modules\blocklanguages\blocklanguages.php on line 68

in C:\xampp\htdocs\prestashop\classes\Tools.php on line 1845

 

Warning: Function addCSS() is deprecated in C:\xampp\htdocs\prestashop\modules\blockcms\blockcms.php on line 707

in C:\xampp\htdocs\prestashop\classes\Tools.php on line 1845

 

Warning: Function addCSS() is deprecated in C:\xampp\htdocs\prestashop\modules\blocksearch\blocksearch.php on line 93

in C:\xampp\htdocs\prestashop\classes\Tools.php on line 1845

 

Warning: Function addJS() is deprecated in C:\xampp\htdocs\prestashop\modules\blocksearch\blocksearch.php on line 94

in C:\xampp\htdocs\prestashop\classes\Tools.php on line 1845

 

Warning: Function addCSS() is deprecated in C:\xampp\htdocs\prestashop\modules\blocksearch\blocksearch.php on line 96

in C:\xampp\htdocs\prestashop\classes\Tools.php on line 1845

 

Warning: Function addCSS() is deprecated in C:\xampp\htdocs\prestashop\modules\blocksearch\blocksearch.php on line 97

in C:\xampp\htdocs\prestashop\classes\Tools.php on line 1845

 

Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file '/blocksearch-instantsearch.tpl' in 'C:\xampp\htdocs\prestashop/themes/magari/modules/blocksearch/blocksearch-top.tpl'' in C:\xampp\htdocs\prestashop\tools\smarty\sysplugins\smarty_internal_templatebase.php:127 Stack trace: #0 C:\xampp\htdocs\prestashop\tools\smarty\sysplugins\smarty_internal_template.php(286): Smarty_Internal_TemplateBase->fetch(NULL, NULL, NULL, NULL, false, false, true) #1 C:\xampp\htdocs\prestashop\cache\smarty\compile\e8\ad\d9\e8add9ae4898a58fe3f13092cbaa87ca95b83411.file.blocksearch-top.tpl.php(59): Smarty_Internal_Template->getSubTemplate('/blocksearch-in...', NULL, NULL, NULL, NULL, Array, 0) #2 C:\xampp\htdocs\prestashop\tools\smarty\sysplugins\smarty_internal_templatebase.php(180): content_51a52eccde63b7_50947369(Object(Smarty_Internal_Template)) #3 C:\xampp\htdocs\prestashop\classes\module\Module.php(1623): Smarty_Internal_TemplateBase->fetch() #4 C:\xampp\htdocs\prestashop\modules\blocksearch\blocksear in C:\xampp\htdocs\prestashop\tools\smarty\sysplugins\smarty_internal_templatebase.php on line 127

Link to comment
Share on other sites

It seems that you are using a module that it's 100% compatible with your prestashop install, but for now you can start with fixing the warning message

 

addCSS

 

it's changed to:

$this->context->controller->addCSS

 

and

 

addJS

 

it's changed to:

$this->context->controller->addJS
Link to comment
Share on other sites

×
×
  • Create New...