Forum Replies Created
-
AuthorPosts
-
Zachary
ParticipantI may have resolved the issue. I filtered the wp_postmeta table and deleted any _EventVenueID or _EventOrganizerID values that were 0. This, at least, removes the symptom.
If new (duplicate) zero values are inserted, I guess I’ll be back. 🙂
Zachary
ParticipantI did some more of my own sleuthing, and made it down to the getEventMeta method in the-events-calendar/src/Tribe/Main.php. The unexpected result: the get_post_meta query was returning 0 event though there appeared to be an _EventVenueID value in the database.
So then I looked at the DB again, and there were two entries for the same post ID. The first stored 0, the second stored a venue ID, and get_post_meta must only use the first return.
Any idea how two _EventVenueID values might get stored in the wp_postmeta table with the same post ID?
Zachary
ParticipantWe aren’t using Object Caching in production. Regardless, the issue persists locally, so its cause wouldn’t be Object Caching, right?
Perhaps you could point me to the method that retrieves the Venue ID from the database? I’ve been digging around, but haven’t found it yet.
Zachary
ParticipantNo object caching (locally). Perhaps something on the server. I’d have to talk with the sysadmin.
Zachary
ParticipantThis reply is private.
-
This reply was modified 9 years, 10 months ago by
Zachary.
Zachary
ParticipantThis reply is private.
Zachary
ParticipantSure thing. I’m on an Event edit page, and I’m selecting an existing Venue for the Location (see attached). After clicking Update, the Event appears as if no Venue is selected.
When I look in the wp_postmeta table, I can see that the relationship to the Venue was in fact stored. However, it doesn’t display as selected on the edit page OR when viewing the post.
I’ve deactivated all plugins except Events Calendar and Events Calendar PRO, and I’ve switched to the Twenty Fourteen theme.
-
This reply was modified 9 years, 10 months ago by
-
AuthorPosts
