• Resolved jryanjp

    (@jryanjp)


    I’ve been getting the Javascript error below since the upgrade to version 5.5 and confirm it’s still a bug in 5.6:

    Uncaught TypeError: wrap.find(...).timePicker is not a function

    Is there a fix for this? It causes all Javascript/jQuery on the Add Event page to fail, which means the date picker, etc. doesn’t work.

    https://wordpress.org/plugins/events-manager/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    sorry not getting this error since EM is using default wordpress jquery library however just to narrow down the problem and help us debug the issue is it possible to try the following temporarily:

    – deactivating all other plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
    – switching to the default theme to rule out any theme-specific problems

    Thread Starter jryanjp

    (@jryanjp)

    Hi, thanks for the reply. Unfortunately it’s not realistic to deactivate all plugins and change the theme for a production website. I followed the advice in your troubleshooting page http://msyk.es/blog/prevent-jquery-wordpress-theme/ but I wasn’t able to find any cases of the jquery being loaded manually either by the theme or any of the plugins. I ran grep -r ‘jquery’ on the wordpress directory and looked at all instances but couldn’t find any that were overriding the default wordpress jquery version.

    However, when I check the “Sources” tab in the developer window, I see no reference to jquery or to ajax.googleapis.com

    Any advice for where I should look?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    In future, I would recommend installing WordPress locally. You can replicate your live environment and test things out locally. Doing anything straight on your live server is concerning in the first place: https://codex.wordpress.org/WordPress_Installation_Techniques#Installing_WordPress_Locally

    Thread Starter jryanjp

    (@jryanjp)

    We have a staging site, it’s just a pain to mirror the production site every time we run into a problem with a plug-in. WordPress is not very debug-friendly.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    in your staging site; you can try to deactivate all other plugin except for Events Manager and then Default WP theme then you can start testing EM again (if everything is working okay) then install your other plugin one by one while testing EM in between however most users experience jquery error with their custom theme loading another version of core jquery and UI.

    hi jryanjp, have you found some solution for this issue?

    thx

    Thread Starter jryanjp

    (@jryanjp)

    Yeah, I dumped Events Manager and installed “The Events Calendar” plugin. It’s far more functional, plus they actually listen to the users’ bug reports and fix bugs.

    https://theeventscalendar.com/

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Uncaught TypeError: wrap.find(…).timePicker is not a function’ is closed to new replies.