Support

Home Forums Pre-Sales Object [object Object] has no method 'validate'

Object [object Object] has no method 'validate'

Posted: March 5, 2014 at 1:33 am

Viewing 5 reply threads


Thomas Mengwasser

March 5, 2014 at 1:33 am

Hi,

i can’t bring Validation to work. I’m always getting the error mentioned in the topic title. A Example site ist: http://bit.ly/1hJtI5q. I already bought EE for a client Site.

I know it’s the validation.js in line 5, but i don’t think that’s the Problem. Any hints would be awesome. Thank you!

WP 3.8, EE 3,


Dean

March 5, 2014 at 1:40 am

Hi Thomas,

Well the first thing that needs fixing is that your theme is loading jQuery 3 times. It is loading version 2.0.3 twice (one from a CDN and one from a file) and then it is loading the (correct) version 1.10.2.

WordPress does not currently support ver 2.0.3

Once your theme is just loading one copy of jQuery (ideally 1.10.2) I am 99% certain the issue will be resolved, but if not, then we at least have a level field to work on.

How to fix it?

2 options:

1) Contact the theme developer and ask them to resolve it.
2) Find the lines of code in the theme that are loading the wrong jQuery and remove/comment them out.


Thomas Mengwasser

March 6, 2014 at 8:01 am

of course you are right. thank you very much!


Josh

  • Support Staff

March 6, 2014 at 9:46 am

Hi Thomas,

The other thing that needs to be addressed is there is a bug on line 8 of the theme’s app.js file. Right now it says:

$(element).removeClass(animation)}, 1700

This needs to be changed to:

jQuery(element).removeClass(animation)}, 1700

Hope that helps!


Thomas Mengwasser

March 6, 2014 at 1:21 pm

yes we did it already. the dev server doesn’t have the current state. thank you!


Josh

  • Support Staff

March 6, 2014 at 1:56 pm

You are welcome.

Viewing 5 reply threads

The support post ‘Object [object Object] has no method 'validate'’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso