Title: Uncaught TypeError:&#8230; is undefined
Last modified: July 14, 2021

---

# Uncaught TypeError:… is undefined

 *  Resolved [mbzo2006](https://wordpress.org/support/users/mbzo2006/)
 * (@mbzo2006)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/uncaught-typeerror-is-undefined/)
 * Hi there,
    After updating your (excellent) plugin to version 4.5.6, I noticed
   a console error (Uncaught TypeError: jQuery.validator is undefined) that seems
   to suggest a conflict with our themes main.js file @ ../assets/js/main.js
 *     ```
       validateMessage: function validateMessage() {
             jQuery.extend(jQuery.validator.messages, {
               required: "required field."
             });
       ```
   
 * Without disabling the plugin, can you suggest a workaround?
    Regards,
    -  This topic was modified 4 years, 11 months ago by [mbzo2006](https://wordpress.org/support/users/mbzo2006/).
    -  This topic was modified 4 years, 11 months ago by [mbzo2006](https://wordpress.org/support/users/mbzo2006/).
      Reason: just correcting code refs

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Moove Agency](https://wordpress.org/support/users/mooveagency/)
 * (@mooveagency)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/uncaught-typeerror-is-undefined/#post-14663816)
 * Hi [@mbzo2006](https://wordpress.org/support/users/mbzo2006/)
 * Thanks for using our plugins.
 * The code snippet provided is not actually related to our plugin.
 * Can you please share your site URL so that we check where the issue is coming
   from.
 * Thanks
 *  Thread Starter [mbzo2006](https://wordpress.org/support/users/mbzo2006/)
 * (@mbzo2006)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/uncaught-typeerror-is-undefined/#post-14665942)
 * Sure, [here is the page](https://bit.ly/3id1MMf)
    Many thanks!
 *  Plugin Author [Moove Agency](https://wordpress.org/support/users/mooveagency/)
 * (@mooveagency)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/uncaught-typeerror-is-undefined/#post-14668845)
 * Hi [@mbzo2006](https://wordpress.org/support/users/mbzo2006/),
 * Thanks for the details.
 * We have checked your site, and it seems you’re using jQuery.validator, but this
   is not defined. You can type `jQuery.validator` in your inspect tool’s console,
   and it returns undefined. Our GDPR plugin doesn’t affect the jQuery, you can 
   try to disable the plugin temporarily and see if the issue persists.
    Alternatively,
   you can ask your developer to check the jQuery.validator for you. This is used
   for validating forms, but it’s not used by GDPR plugin.
 * Hope this helps.
 *  Thread Starter [mbzo2006](https://wordpress.org/support/users/mbzo2006/)
 * (@mbzo2006)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/uncaught-typeerror-is-undefined/#post-14685810)
 * Thanks for your feedback.
    Disabling the GDPR plugin seems to remove the error
   from the console. Will check the jQuery.validator as suggested. Thanks again.
   Regards,

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Uncaught TypeError:… is undefined’ is closed to new replies.

 * ![](https://ps.w.org/gdpr-cookie-compliance/assets/icon-256x256.png?rev=2376316)
 * [GDPR Cookie Compliance - Cookie Banner, Cookie Consent, Cookie Notice for CCPA, EU Cookie Law](https://wordpress.org/plugins/gdpr-cookie-compliance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gdpr-cookie-compliance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gdpr-cookie-compliance/)
 * [Active Topics](https://wordpress.org/support/plugin/gdpr-cookie-compliance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gdpr-cookie-compliance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gdpr-cookie-compliance/reviews/)

## Tags

 * [jquery](https://wordpress.org/support/topic-tag/jquery/)

 * 4 replies
 * 2 participants
 * Last reply from: [mbzo2006](https://wordpress.org/support/users/mbzo2006/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/uncaught-typeerror-is-undefined/#post-14685810)
 * Status: resolved