Warning “Failed to update _EventVenueID meta value in database.” on event date
-
I’ve just noticed that, whether WPML is active, when updating an Event (using Gutenberg Editor) this warning appears:
“Update failed. Could not update the meta value of _EventVenueID in database.”
It happens only when the event date or time are updated, but not when updating Event content. Anyway, everything is saved as expected.
As a side note: I’m using WPML Advanced Translation Editor (default and recommended option)
https://wpml.org/documentation/translating-your-contents/translation-editor-options/
The connected Venue is translated in both the languages on the site, and so the event.
The warning appears even in events that exist in primary language only and doesn’t occurs if WPML is not active.Console error and php warning
This is the error that appears in browser console on Save
https://…/wp-json/wp/v2/tribe_events/247?_locale=user 500 (Internal Server Error)
And this is the debug.log warning
PHP Warning: array_filter() expects parameter 1 to be array, bool given in /Applications/MAMP/htdocs/wp-dig-awards/wp-content/plugins/the-events-calendar/src/Tribe/Editor/Meta.php on line 150Massimo
- The topic ‘Warning “Failed to update _EventVenueID meta value in database.” on event date’ is closed to new replies.