I am using Advanced Custom Fields (Version 6.3.3) on my WordPress (version 6.5.5) website. I am also using Advanced Schedule Posts (Version 2.1.8 from https://github.com/hijiriworld/advanced-schedule-posts) on this website. These two plugins have worked together in the past but with the latest versions of WordPress and the plugins they no longer work for datepicker.
With Advanced Custom Fields ACTIVATED and Advanced Schedule Posts ACTIVATED
– Advanced Custom Fields datepicker fails to work
– Advanced Schedule Posts datepicker fails to work
With Advanced Custom Fields ACTIVATED and Advanced Schedule Posts DEACTIVATED
– ACF datepicker works correctly
With Advanced Custom Fields DEACTIVATED and Advanced Schedule Posts ACTIVATED
– Advanced Schedule Posts datepicker works correctly
The console error I get when trying to use the ACF datepicker or Advanced Schedule Posts datepicker in the WordPress admin is below,
Uncaught TypeError: $(…).zIndex is not a function
at HTMLInputElement._showDatepicker (jquery.datePicker.min.js?ver=e95bb7bd8a621b465f58e64aa952b821:746:31)
at HTMLInputElement.dispatch (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=e95bb7bd8a621b465f58e64aa952b821:2:40035)
at v.handle (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=e95bb7bd8a621b465f58e64aa952b821:2:38006)