Warning: Trying to access array offset on value of type bool in /home/homeandhistory/public_html/classes/Category.php on line 2030
Warning: Trying to access array offset on value of type bool in /home/homeandhistory/public_html/classes/Category.php on line 2030
Warning: Trying to access array offset on value of type bool in /home/homeandhistory/public_html/classes/Category.php on line 2030
Fatal error: Uncaught SmartyCompilerException: Syntax error in template "file:/home/homeandhistory/public_html/modules/jvconsent/views/templates/hook/consent_header.tpl" on line 5 "function gtag(){dataLayer.push(arguments);}" - Unexpected ".", expected one of: "}" in /home/homeandhistory/public_html/modules/jvconsent/views/templates/hook/consent_header.tpl:5
Stack trace:
#0 /home/homeandhistory/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templateparser.php(2819): Smarty_Internal_TemplateCompilerBase->trigger_template_error()
#1 /home/homeandhistory/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templateparser.php(2880): Smarty_Internal_Templateparser->yy_syntax_error(44, '.')
#2 /home/homeandhistory/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_smartytemplatecompiler.php(128): Smarty_Internal_Templateparser->doParse(44, '.')
#3 /home/homeandhistory/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php(466): Smarty_Internal_SmartyTemplateCompiler->doCompile('\n{* Google Cons...', true)
#4 /home/homeandhistory/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php(395): Smarty_Internal_TemplateCompilerBase->compileTemplateSource(Object(SmartyDevTemplate), false, NULL)
#5 /home/homeandhistory/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(184): Smarty_Internal_TemplateCompilerBase->compileTemplate(Object(SmartyDevTemplate))
#6 /home/homeandhistory/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(141): Smarty_Template_Compiled->compileTemplateSource(Object(SmartyDevTemplate))
#7 /home/homeandhistory/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(105): Smarty_Template_Compiled->process(Object(SmartyDevTemplate))
#8 /home/homeandhistory/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#9 /home/homeandhistory/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render(false, 0)
#10 /home/homeandhistory/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(SmartyDevTemplate), NULL, NULL, NULL, 0)
#11 /home/homeandhistory/public_html/classes/Smarty/SmartyDevTemplate.php(55): Smarty_Internal_TemplateBase->fetch(NULL, NULL, NULL, NULL)
#12 /home/homeandhistory/public_html/classes/module/Module.php(2260): SmartyDevTemplateCore->fetch()
#13 /home/homeandhistory/public_html/modules/jvconsent/jvconsent.php(255): ModuleCore->display('/home/homeandhi...', 'views/templates...')
#14 /home/homeandhistory/public_html/classes/Hook.php(1083): Jvconsent->hookDisplayHeader(Array)
#15 /home/homeandhistory/public_html/classes/Hook.php(421): HookCore::coreCallHook(Object(Jvconsent), 'hookDisplayHead...', Array)
#16 /home/homeandhistory/public_html/classes/Hook.php(989): HookCore::callHookOn(Object(Jvconsent), 'displayHeader', Array)
#17 /home/homeandhistory/public_html/classes/controller/FrontController.php(633): HookCore::exec('displayHeader')
#18 /home/homeandhistory/public_html/override/classes/controller/FrontController.php(11): FrontControllerCore->initContent()
#19 /home/homeandhistory/public_html/controllers/front/ProductController.php(465): FrontController->initContent()
#20 /home/homeandhistory/public_html/classes/controller/Controller.php(319): ProductControllerCore->initContent()
#21 /home/homeandhistory/public_html/classes/Dispatcher.php(510): ControllerCore->run()
#22 /home/homeandhistory/public_html/index.php(28): DispatcherCore->dispatch()
#23 {main}
Next PrestaShop\PrestaShop\Core\Exception\CoreException: Syntax error in template "file:/home/homeandhistory/public_html/modules/jvconsent/views/templates/hook/consent_header.tpl" on line 5 "function gtag(){dataLayer.push(arguments);}" - Unexpected ".", expected one of: "}" in /home/homeandhistory/public_html/classes/Hook.php:434
Stack trace:
#0 /home/homeandhistory/public_html/classes/Hook.php(989): HookCore::callHookOn(Object(Jvconsent), 'displayHeader', Array)
#1 /home/homeandhistory/public_html/classes/controller/FrontController.php(633): HookCore::exec('displayHeader')
#2 /home/homeandhistory/public_html/override/classes/controller/FrontController.php(11): FrontControllerCore->initContent()
#3 /home/homeandhistory/public_html/controllers/front/ProductController.php(465): FrontController->initContent()
#4 /home/homeandhistory/public_html/classes/controller/Controller.php(319): ProductControllerCore->initContent()
#5 /home/homeandhistory/public_html/classes/Dispatcher.php(510): ControllerCore->run()
#6 /home/homeandhistory/public_html/index.php(28): DispatcherCore->dispatch()
#7 {main}
thrown in /home/homeandhistory/public_html/classes/Hook.php on line 434