• Resolved mbzo2006

    (@mbzo2006)


    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 3 years, 8 months ago by mbzo2006.
    • This topic was modified 3 years, 8 months ago by mbzo2006. Reason: just correcting code refs
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Moove Agency

    (@mooveagency)

    Hi @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

    (@mbzo2006)

    Sure, here is the page
    Many thanks!

    Plugin Author Moove Agency

    (@mooveagency)

    Hi @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

    (@mbzo2006)

    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.