tomasz Posted May 31, 2019 Share Posted May 31, 2019 Hi, Please can I have some help with this error. I have checked and that what its the reson but I do not know how to fix it. Syntax error in template "file:/home/kkphotog/domains/ivitaminsshop.co.uk/public_html/themes/classic/templates/_partials/head.tpl" on line 29 ";(function(a,t,o,m,s){a[m]=a[m]||[];a[m].push({t:new Date().getTime(),event:'snippetRun'});var f=t.getElementsByTagName(o)[0],e=t.createElement(o),d=m!=='paypalDDL'?'&m='+m:'';e.async=!0;e.src='https://www.paypal.com/tagmanager/pptm.js?id='+s+d;f.parentNode.insertBefore(e,f);})(window,document,'script','paypalDDL','09da2df6-cb7c-4989-b691-78ee30140ba3');" - Unexpected "[", expected one of: "}" Link to comment Share on other sites More sharing options...
joseantgv Posted May 31, 2019 Share Posted May 31, 2019 (edited) Have you added this script? I think the solution is to wrap it in {literal}{/literal} tags. Edited May 31, 2019 by joseantgv (see edit history) Link to comment Share on other sites More sharing options...
tomasz Posted May 31, 2019 Author Share Posted May 31, 2019 Thanks for response. No I have not added any script. I have change this" /* Debug only */ if (!defined('_PS_MODE_DEV_')) { define('_PS_MODE_DEV_', true);" from false to true to check the error and that what i got. Thank you Fixed. Many Thanks 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