• Resolved Matt Urenovich

    (@murenovich)


    I am having an issue where the datepicker in the backend doesnt work when editing an event. It works intermittently now and then when adding a new event but i get the error there as well. The datepicker doesn’t show properly at all and only the start date works and the end date doesn’t show at all. When I check the console in dev tools i get the following error:

    Uncaught Missing number at position 0 jquery-ui-timepicker-addon.min.js?ver=1.6.1:5

    I disabled all the other plugins and still no luck. I looked through the forums and found this post:
    jQuery Conflict Fix

    I tried the fix and it removed the error I got above but instead it threw this error at me:

    Uncaught TypeError: $ is not a function events-manager.js?ver=5.6624:756

    So I reverted back and I still get the first error. I tried resetting the plugin and it works for one edit and then goes back to throwing the error and looking messed up. I have taken a screenshot of what it looks like when it’s messed up.

    Messed Up datepicker Screenshot

    I have tried everything i can think of and find and nothing works and this is the only thing that’s holding me up on a big project. Any help would be absolutely appreciated.

    P.S. – I would provide a link to the site but this is on a local environment because its a migration of a custom events system over into events manager so i had to do it locally and cant upload it to the live site until it’s done. We can figure something out tho whatever it takes Thanks in advance!!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • As well as deactivating all other plugins, have you also tested while running the default WordPress theme?

    I’m not part of support.. just some dude.

    This just a shot in the dark here.. I did a little test on my local machine box (I use WAMP).

    go into..
    plugins\events-manager\includes\css
    and change the name of these two files..
    jquery-ui.css to -> jquery-uiX.css
    jquery-ui.min.css to -> jquery-ui.minX.css

    In your screen shot and from your description.. it might be that those files are being loaded from two places.. “it works and then it doesn’t”

    If after you change those files.. no change, or you don’t have a date picker at all..
    more testing..
    Hope it works or gets you towards a solution.

    I did some further testing..
    I did as I mentioned above.. and I found that (for me) those two files were being loaded by another plugin (and thusly the datepicker still was ok).

    But in that other plugin.. I “X” the file names… and was able to produce the exact effect you have.

    So.. if after the test I mentioned above..
    and you find the above files not being loaded by another plugin..

    It looks like the above mentioned files are loading sometimes, and then not.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Datepicker on Edit Event Backend Breaks’ is closed to new replies.