A client site is currently experiencing errors when trying to edit Event posts. I’m seeing the following error message although all EE plugins are at the latest version. Is this a know bug?
Fatal error: Uncaught Error: Class ‘EE_Datetime_Field’ not found in /nas/content/live/*******/wp-content/plugins/event-espresso-core-reg/core/domain/entities/DbSafeDateTime.php:169 Stack trace: #0 /nas/content/live/*******/wp-content/plugins/event-espresso-core-reg/core/domain/entities/DbSafeDateTime.php(194): EventEspresso\core\domain\entities\DbSafeDateTime::createFromDateTime(Object(DateTime)) #1 /nas/content/live/*******/wp-content/plugins/event-espresso-core-reg/core/domain/entities/DbSafeDateTime.php(119): EventEspresso\core\domain\entities\DbSafeDateTime::createFromFormat(‘Y-m-d H:i:s O e’, ‘2022-11-21 12:3…’) #2 [internal function]: EventEspresso\core\domain\entities\DbSafeDateTime->__wakeup() #3 /nas/content/live/*******/wp-content/object-cache.php(321): Memcached->get(‘v2:3597d82b4c1d…’) #4 /nas/content/live/*******/wp-content/object-cache.php(72): WP_Object_Cache->get(54608, ‘posts’) #5 /nas/content/live/*******/wp-includes/class-wp-post.php(240): wp_cache_get(54608, ‘posts’) #6 /nas in /nas/content/live/*******/wp-content/plugins/event-espresso-core-reg/core/domain/entities/DbSafeDateTime.php on line 169
No, this is not a known bug and I can’t reproduce this.
Are you editing the events through Event Espresso itself when the above error is thrown?
It could be an issue with Memcached being used on the server, we use EE_Datetime_Field in the same way within the REST API and the output for that is working as expected on your site.
I’ll check in with our developers regarding this and see if they can add any additional feedback.
Many thanks!
I turned off object caching on the WPEngine site and it appears to have solved the problem. If your developers have any advice as to why they think this might be happening with Memcached then I would really appreciate it as turning off the object cache is not ideal.
Viewing 2 reply threads
The support post ‘Event posts unable to be edited’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.