- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
06-07-2021 10:29 AM
getting Uncaught TypeError: Cannot read property 'tid' of undefined while running a jQuery onHandler(1.7 and aboove) extension on DOM ready . The code stops executing after this and tag doesn't fire . What could be the reason. How to resolve/avoid this .
06-09-2021 12:23 PM
Are you triggering a custom link event within this extension? I've seen this occur when calling a tag that doesn't exist in the given profile.
In the example below, I have an extension set up with a custom event that's trying to trigger UID #999, which doesn't exist in my profile. As a result, I'll receive an "Uncaught TypeError: Cannot read property 'tid' of undefined" in the console. To resolve, I had to insert a valid/existing UID #.
Hope this helps.
Copyright All Rights Reserved © 2008-2023