Fatal error: Uncaught SmartyCompilerException: Syntax error in template "module:module:tagmanagerviewstemplateshookgtm_head.tpl" on line 4 "(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':" - Unexpected "[", expected one of: "}" in module:tagmanagerviewstemplateshookgtm_head.tpl:4
Stack trace:
#0 /home/exomaweb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templateparser.php(2819): Smarty_Internal_TemplateCompilerBase->trigger_template_error()
#1 /home/exomaweb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templateparser.php(2880): Smarty_Internal_Templateparser->yy_syntax_error(51, '[')
#2 /home/exomaweb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_smartytemplatecompiler.php(128): Smarty_Internal_Templateparser->doParse(51, '[')
#3 /home/exomaweb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php(466): Smarty_Internal_SmartyTemplateCompiler->doCompile('<!-- begin /hom...', true)
#4 /home/exomaweb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php(394): Smarty_Internal_TemplateCompilerBase->compileTemplateSource(Object(SmartyDevTemplate), false, NULL)
#5 /home/exomaweb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(184): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(SmartyDevTemplate))
#6 /home/exomaweb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(141): Smarty_Template_Compiled->compileTemplateSource(Object(SmartyDevTemplate))
#7 /home/exomaweb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(105): Smarty_Template_Compiled->process(Object(SmartyDevTemplate))
#8 /home/exomaweb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#9 /home/exomaweb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render(false, 0)
#10 /home/exomaweb/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(SmartyDevTemplate), NULL, NULL, NULL, 0)
#11 /home/exomaweb/public_html/classes/Smarty/SmartyDevTemplate.php(55): Smarty_Internal_TemplateBase->fetch(NULL, NULL, NULL, NULL)
#12 /home/exomaweb/public_html/classes/module/Module.php(2301): SmartyDevTemplateCore->fetch()
#13 /home/exomaweb/public_html/modules/tagmanager/tagmanager.php(69): ModuleCore->fetch('module:tagmanag...')
#14 /home/exomaweb/public_html/classes/Hook.php(1083): TagManager->hookDisplayHeader(Array)
#15 /home/exomaweb/public_html/classes/Hook.php(421): HookCore::coreCallHook(Object(TagManager), 'hookDisplayHead...', Array)
#16 /home/exomaweb/public_html/classes/Hook.php(989): HookCore::callHookOn(Object(TagManager), 'displayHeader', Array)
#17 /home/exomaweb/public_html/classes/controller/FrontController.php(633): HookCore::exec('displayHeader')
#18 /home/exomaweb/public_html/controllers/front/listing/CategoryController.php(127): FrontControllerCore->initContent()
#19 /home/exomaweb/public_html/classes/controller/Controller.php(319): CategoryControllerCore->initContent()
#20 /home/exomaweb/public_html/classes/Dispatcher.php(510): ControllerCore->run()
#21 /home/exomaweb/public_html/index.php(28): DispatcherCore->dispatch()
#22 {main}
Next PrestaShop\PrestaShop\Core\Exception\CoreException: Syntax error in template "module:module:tagmanagerviewstemplateshookgtm_head.tpl" on line 4 "(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':" - Unexpected "[", expected one of: "}" in /home/exomaweb/public_html/classes/Hook.php:434
Stack trace:
#0 /home/exomaweb/public_html/classes/Hook.php(989): HookCore::callHookOn(Object(TagManager), 'displayHeader', Array)
#1 /home/exomaweb/public_html/classes/controller/FrontController.php(633): HookCore::exec('displayHeader')
#2 /home/exomaweb/public_html/controllers/front/listing/CategoryController.php(127): FrontControllerCore->initContent()
#3 /home/exomaweb/public_html/classes/controller/Controller.php(319): CategoryControllerCore->initContent()
#4 /home/exomaweb/public_html/classes/Dispatcher.php(510): ControllerCore->run()
#5 /home/exomaweb/public_html/index.php(28): DispatcherCore->dispatch()
#6 {main}
thrown in /home/exomaweb/public_html/classes/Hook.php on line 434