lawling66 Posted February 20, 2019 Share Posted February 20, 2019 (edited) Dear Sir, my website Prestashop 1.6.1.20 , suddenly can not display and show below error message, can you help us ? Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "themes/default-bootstrap/header.tpl" on line 37 "function gtag(){dataLayer.push(arguments);}" - Unexpected ".", expected one of: "}" <-- thrown in tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 37 thank you Edited February 20, 2019 by lawling66 (see edit history) Link to comment Share on other sites More sharing options...
Bulldesign Posted February 20, 2019 Share Posted February 20, 2019 Are you able to access the backoffice? The issue seems to be with some google analytics code or module. Link to comment Share on other sites More sharing options...
Mr.Andrew Posted February 21, 2019 Share Posted February 21, 2019 12 hours ago, lawling66 said: Dear Sir, my website Prestashop 1.6.1.20 , suddenly can not display and show below error message, can you help us ? Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "themes/default-bootstrap/header.tpl" on line 37 "function gtag(){dataLayer.push(arguments);}" - Unexpected ".", expected one of: "}" <-- thrown in tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 37 thank you It's a syntax error. Maybe you have edited the header.tpl file. You can check this file again. Or this is an issue by your module analytics, you can disable it. And check your site. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now