jQuery(…).datepicker is not a function in WP Admin
-
Hi Alan,
I’m having a conflict on the WP admin side (doesn’t happen on the user front end) and while I can’t say if the problem is the “fault” of Quick Event Manager, I can say for certain that I can make the error go away if I deactivate QEM and can make it occur by activating it and refreshing the page.
WP ver = 5.7.2
QEM ver = 9.1.8
Oxygen ver = 3.7.1Situation: I’m using Oxygen as my page builder and have installed QEM. When I open any page in WP admin using Oxygen, the js-based Oxygen (and other product) features stop working because of the js error in the console:
Uncaught TypeError: jQuery(…).datepicker is not a function
at HTMLDocument.<anonymous> (<anonymous>:500:24)
at e (<anonymous>:2:30005)
at t (<anonymous>:2:30307)
NOTE: The full stack is belowThe error happens on line 500 of /wp-content/plugins/quick-event-manager/legacy/quick-event-manager.js and happens even if I add jQuery.noConflict(); prior to it.
[redacted]
Any help is greatly appreciated.
Uncaught TypeError: jQuery(...).datepicker is not a function at HTMLDocument.<anonymous> (<anonymous>:500:24) at e (<anonymous>:2:30005) at t (<anonymous>:2:30307) (anonymous) @ VM15530:500 e @ VM15529:2 t @ VM15529:2 setTimeout (async) S.readyException @ VM15529:2 (anonymous) @ VM15529:2 e @ VM15529:2 t @ VM15529:2 setTimeout (async) (anonymous) @ VM15529:2 c @ VM15529:2 fireWith @ VM15529:2 fire @ VM15529:2 c @ VM15529:2 fireWith @ VM15529:2 t @ VM15529:2 setTimeout (async) (anonymous) @ VM15529:2 c @ VM15529:2 fireWith @ VM15529:2 fire @ VM15529:2 c @ VM15529:2 fireWith @ VM15529:2 ready @ VM15529:2 setTimeout (async) (anonymous) @ VM15529:2 (anonymous) @ VM15529:2 (anonymous) @ VM15529:2 b @ jquery.min.js?ver=3.5.1:2 globalEval @ jquery.min.js?ver=3.5.1:2 dataFilter @ jquery.min.js?ver=3.5.1:2 (anonymous) @ jquery.min.js?ver=3.5.1:2 l @ jquery.min.js?ver=3.5.1:2 (anonymous) @ jquery.min.js?ver=3.5.1:2 (anonymous) @ VM14696:1 send @ jquery.min.js?ver=3.5.1:2 ajax @ jquery.min.js?ver=3.5.1:2 s.ajax.s.ajax @ jquery-migrate.min.js?ver=3.3.2:2 S._evalUrl @ jquery.min.js?ver=3.5.1:2 Pe @ jquery.min.js?ver=3.5.1:2 append @ jquery.min.js?ver=3.5.1:2 (anonymous) @ jquery.min.js?ver=3.5.1:2 $ @ jquery.min.js?ver=3.5.1:2 html @ jquery.min.js?ver=3.5.1:2 (anonymous) @ iframe.min.js?ver=3.7.1:6 (anonymous) @ angular.js?ver=1.4.2:9280 processQueue @ angular.js?ver=1.4.2:13075 (anonymous) @ angular.js?ver=1.4.2:13091 $eval @ angular.js?ver=1.4.2:14291 $digest @ angular.js?ver=1.4.2:14107 $apply @ angular.js?ver=1.4.2:14395 done @ angular.js?ver=1.4.2:9569 completeRequest @ angular.js?ver=1.4.2:9756 requestLoaded @ angular.js?ver=1.4.2:9697 load (async) send @ jquery.min.js?ver=3.5.1:2 ajax @ jquery.min.js?ver=3.5.1:2 s.ajax.s.ajax @ jquery-migrate.min.js?ver=3.3.2:2 S._evalUrl @ jquery.min.js?ver=3.5.1:2 Pe @ jquery.min.js?ver=3.5.1:2 append @ jquery.min.js?ver=3.5.1:2 (anonymous) @ jquery.min.js?ver=3.5.1:2 $ @ jquery.min.js?ver=3.5.1:2 html @ jquery.min.js?ver=3.5.1:2 (anonymous) @ iframe.min.js?ver=3.7.1:6 (anonymous) @ angular.js?ver=1.4.2:9280 processQueue @ angular.js?ver=1.4.2:13075 (anonymous) @ angular.js?ver=1.4.2:13091 $eval @ angular.js?ver=1.4.2:14291 $digest @ angular.js?ver=1.4.2:14107 $apply @ angular.js?ver=1.4.2:14395 done @ angular.js?ver=1.4.2:9569 completeRequest @ angular.js?ver=1.4.2:9756 requestLoaded @ angular.js?ver=1.4.2:9697 load (async) (anonymous) @ angular.js?ver=1.4.2:9680 sendReq @ angular.js?ver=1.4.2:9538 serverRequest @ angular.js?ver=1.4.2:9255 processQueue @ angular.js?ver=1.4.2:13075 (anonymous) @ angular.js?ver=1.4.2:13091 $eval @ angular.js?ver=1.4.2:14291 $digest @ angular.js?ver=1.4.2:14107 $apply @ angular.js?ver=1.4.2:14395 done @ angular.js?ver=1.4.2:9569 completeRequest @ angular.js?ver=1.4.2:9756 requestLoaded @ angular.js?ver=1.4.2:9697 load (async) (anonymous) @ angular.js?ver=1.4.2:9680 sendReq @ angular.js?ver=1.4.2:9538 serverRequest @ angular.js?ver=1.4.2:9255 processQueue @ angular.js?ver=1.4.2:13075 (anonymous) @ angular.js?ver=1.4.2:13091 $eval @ angular.js?ver=1.4.2:14291 $digest @ angular.js?ver=1.4.2:14107 $apply @ angular.js?ver=1.4.2:14395 done @ angular.js?ver=1.4.2:9569 completeRequest @ angular.js?ver=1.4.2:9756 requestLoaded @ angular.js?ver=1.4.2:9697 load (async) (anonymous) @ angular.js?ver=1.4.2:9680 sendReq @ angular.js?ver=1.4.2:9538 serverRequest @ angular.js?ver=1.4.2:9255 processQueue @ angular.js?ver=1.4.2:13075 (anonymous) @ angular.js?ver=1.4.2:13091 $eval @ angular.js?ver=1.4.2:14291 $digest @ angular.js?ver=1.4.2:14107 $apply @ angular.js?ver=1.4.2:14395 bootstrapApply @ angular.js?ver=1.4.2:1437 invoke @ angular.js?ver=1.4.2:4138 doBootstrap @ angular.js?ver=1.4.2:1435 bootstrap @ angular.js?ver=1.4.2:1455 angularInit @ angular.js?ver=1.4.2:1349 (anonymous) @ angular.js?ver=1.4.2:25912 e @ jquery.min.js?ver=3.5.1:2 t @ jquery.min.js?ver=3.5.1:2 setTimeout (async) (anonymous) @ jquery.min.js?ver=3.5.1:2 c @ jquery.min.js?ver=3.5.1:2 fireWith @ jquery.min.js?ver=3.5.1:2 fire @ jquery.min.js?ver=3.5.1:2 c @ jquery.min.js?ver=3.5.1:2 fireWith @ jquery.min.js?ver=3.5.1:2 ready @ jquery.min.js?ver=3.5.1:2 B @ jquery.min.js?ver=3.5.1:2
- The topic ‘jQuery(…).datepicker is not a function in WP Admin’ is closed to new replies.