Jump to content

Prestashop 1.6.1.20 - website suddenly can not display


lawling66

Recommended Posts

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 by lawling66 (see edit history)
Link to comment
Share on other sites

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

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...