Jump to content

Error in theme when updating to latest Prestashop


Recommended Posts

Hi everyone, I would require your help. I've recently updated my prestashop to the latest version but I encountered difficulties in displaying my custom theme. The error message below shows instead. Would you be able to tell me what went wrong?

 

Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/hellogir/public_html/themes/hellogiraffe/header.tpl" on line 79 "{plugin module='pm_advancedtopmenu' hook='top'}" unknown tag "plugin"' in /home/hellogir/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:431 Stack trace: #0 /home/hellogir/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(253): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "pl...', 79) #1 /home/hellogir/public_html/tools/smarty/sysplugins/smarty_internal_templateparser.php(2319): Smarty_Internal_TemplateCompilerBase->compileTag('plugin', Array) #2 /home/hellogir/public_html/tools/smarty/sysplugins/smarty_internal_templateparser.php(2812): Smarty_Internal_Templateparser->yy_r35() #3 /home/hellogir/public_html/tools/smarty/sysplugins/smarty_internal_templateparser.php(2912): Smarty_Internal_Templateparser->yy_reduce(35) #4 /home/hellogir/public_html/tools/smarty/sysplugins/s in /home/hellogir/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 431

 

Thank you very much!

Link to comment
Share on other sites

After I disabled Force Compile in Smarty Options, part of the theme is showing but there's still an error.

 

Fatal error: Call to undefined function smartyEcartPlugin() in /home/hellogir/public_html/tools/smarty/compile/5bce30c6b8b5e3815c9a578595a9914f740e850e.file.header.tpl.php on line 112

Link to comment
Share on other sites

Hi,

I've switched to smarty 2 but it displays this error instead

Fatal error: Smarty error: [in /home/hellogir/public_html/themes/hellogiraffe/header.tpl line 79]: syntax error: unrecognized tag 'plugin' (Smarty_Compiler.class.php, line 590) in/home/hellogir/public_html/tools/smarty_v2/Smarty.class.php on line 1095

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...