• Resolved David Levine

    (@justlevine)


    Reopening https://www.ads-software.com/support/topic/empty-venue-organizer/ – apologies for not responding there.

    Noticing a strange error: when updating the venue/organizer on some events, it is assigned as an additional venue/organizer and the original venue/organizer spot stays blank.

    No amount of deleting the blank or actual venues, reassigning the blank venue to an existing one, or adding new venues and then deleting the blank one, seems to change this.

    Running the latest version of The Events Calendar (4.6.7), though the issue started before that (not sure when).

    I ran a bunch of conflict testing, as suggested (switched to TwentySixteen, disabled all non-tec plugins (I’m using the Nonprofit License), disabled all plugins except for The Events Calendar (free).

    Thought at first that it was an issue with FB Importer / Tribe Aggregator, but its affecting some events that were manually created years ago as well.

    Also tried ruling out if it was an issue with migrating back and forth from a live/localhost server (I download the entire mysql database, and then use Search-Replace-DB to swith site.com ->localhost.test), but the issue is on the original unaltered copy of the site (before I began developing on a local host).

    It seems these items have an extra _EventOrganizerID in the postmeta, that doesnt actually exist: E.g. https://imgur.com/ktFNe89. If I go to wp-admin/post.php?post=17237 it says You attempted to edit an item that doesn’t exist. Perhaps it was deleted?

    Looking at 4 or 5 of the problematic events, each of non-existent organizer IDs are different. Since I’m dealing with over 200 ‘broken’ events, I cant just do a database search and delete the problematic rows.

    Any suggestions (on how to fix the current broken events, and how to stop it from happening in the future)?

    • This topic was modified 6 years, 11 months ago by David Levine.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter David Levine

    (@justlevine)

    Update: Some creative searching on the Tribe Forums found me this snippet for a shortcode of all used events/venues on the site.
    I then did a mysql query of wp_postmeta for all the _EventOrganizerIDs and _EventVenueIDs (this kb article for list of TEC postmeta fields), that were NOT LIKE the huge list of values that were output from the above shortcode.

    Scrolling through the backend so far, and it seemed to fix the current broken events, but it wont do anything to prevent this from happening again.

Viewing 1 replies (of 1 total)
  • The topic ‘Empty Venue + Organizer’ is closed to new replies.