Posted: August 7, 2020 at 5:33 am
I’ve just installed EE4 and I’m trying to create my first event. Everything is fine until I try and enter the start and end dates. I am unable to create a start date that isn’t today. The end date can only be today or tomorrow. Every other date in the date/time picker is greyed out. I did see a support post about conflicts with ACF, which came as part of my theme so I added the fix to my functions.php but that has no effect. Also once the date/time picker has opened there appears to be no way to get rid of it. Help! |
|
Sorry forgot to add WordPress Version: 5.4.2 |
|
Hi there, Can you add a screenshot of the datepicker, please? https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots It does sound like a conflict, but not one I’ve seen before. |
|
Hi, Here you go – https://awsdemo.co.uk/2020-08-07-12_22_22-events-bpi-consultancy-ltd-wordpress/ Happy to provide you with a login if it helps |
|
Yeah, that’s definately a conflict as that’s not EE’s datepicker. If you can send temp login details using this form I’ll take a quick look: https://eventespresso.com/send-login-details/ (Note we generally require a support token to work directly on the site but I’ll happily take a look and see if anything stands out) |
|
Turns out this is from Advanced Custom Fields. We’ve seen this previously, but only with ACF Pro, now apparently the free version does the same (and with a different DatePicker). To fix this you can add this snippet to your site: https://gist.github.com/Pebblo/7fc7fa30663583ad3d0b42ef44039411 You add that t a custom functions plugin and we have some documentation on creating one here: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ That snippet just tells ACF not to enqueue its DatePicker on EE’s event editor and shouldn’t cause any other issues elsewhere on the site. |
|
Hi Tony, I’ve followed the instructions and that seems to have fixed my issue. Thanks for all your help. |
|
Great! Thanks for the update and you are most welcome 🙂 |
|
The support post ‘Can't Create a Start Date that isn't today’ 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.