I have this error in IE and FF – desktop.
Uncaught SyntaxError: Unexpected token <
In checking, looks like it is in line 1 of the home page – but it is flagging avia.js
Thanks!
Hey xyzb,
Please send us a temporary admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
Rikard
Here is what I found. I had to move the js/avia.js file into my child theme. I also noticed that there is a header.php file in both my child and parent theme for some reason. I’m not sure if this is from the update to Enfold. There must be something in my child theme that is creating issues.
Comments?
Thanks
Hey,
Correct. Have you noted the changes you made on avia.js or header.php file? We would recommend copying fresh copies of these files and re-applying your modifications since both files were updated in latest Enfold updates.
Cheers!
Yigit
I made changes to the header.php by adding the Google Tag Manager noscript just inside the body tag. I didn’t touch the avia.js file but for some reason had to add it to the child theme folder.
Is there a preferred way of adding the tag manager noscript code ?
Thanks much!
Hi,
Yes, please refer to this post – https://kriesi.at/documentation/enfold/add-custom-js-or-php-script/#add-a-script-to-head-section
Best regards,
Yigit