Zachary

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Linked_Posts (Venue and Organizer) do NOT update. #1144150
    Zachary
    Participant

    I 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. 🙂

    in reply to: Linked_Posts (Venue and Organizer) do NOT update. #1144138
    Zachary
    Participant

    I 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?

    in reply to: Linked_Posts (Venue and Organizer) do NOT update. #1144125
    Zachary
    Participant

    We 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.

    in reply to: Linked_Posts (Venue and Organizer) do NOT update. #1143639
    Zachary
    Participant

    No object caching (locally). Perhaps something on the server. I’d have to talk with the sysadmin.

    in reply to: Linked_Posts (Venue and Organizer) do NOT update. #1142070
    Zachary
    Participant

    This reply is private.

    • This reply was modified 9 years, 10 months ago by Zachary.
    in reply to: Linked_Posts (Venue and Organizer) do NOT update. #1141650
    Zachary
    Participant

    This reply is private.

    in reply to: Linked_Posts (Venue and Organizer) do NOT update. #1141390
    Zachary
    Participant

    Sure 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.

Viewing 7 posts - 1 through 7 (of 7 total)