We help IT Professionals succeed at work.

JS ReferenceError: __ is not defined but Only on a Specific Web App. All Others Don't Throw this Error?

894359
894359 asked
on
110 Views
1 Endorsement
Last Modified: 2018-11-06
I'm trying to figure out why I'm getting an error only on a specific website? We include our tag management code on our 3rd party web apps. I have never had any issues and the same code is running on a bunch of other web apps with no issue but now I'm getting an error only on a specific site?  If you go to the site ( click  here to see ) you'll notice in the dev. console that it throws an error of:

satelliteLib-8b0957229e4e0b480ac27c82c946e106ec00b3ce-staging.js:14 Uncaught ReferenceError: __ is not defined

and in the file it is the underscore in this code
t.push(n)}):__.map(s,fu

Open in new window


I have no idea why this only happens on this web app?  FYI, if you want to see the site properly, you have to  add "#testdtm" in place of the "#testnhd" and reload the page . These qualifiers set two flags in local storage. You will then have the app set-up properly but get the error. The same files are serverd to many 3rd party sites but for some reason, it throws an error only here? Any insight/help is appreciated.

Thanks!
Comment
Watch Question

Sr. Software Architect
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION

Author

Commented:
I'm trying out a JS Script Blocker plugin to see if I can isolate the issue.