Support » Plugin: Event Tickets » Latest update breaks Attendee Output (Unknown column ‘wp_posts.ID’)

  • Resolved justlevine

    (@justlevine)


    After updating to Event Tickets 4.10.6, my debug.log is riddled with database errors, and my Event template is no longer showing attendees.

    All of the errors start with WordPress database error Unknown column 'wp_posts.ID' in 'on clause' for query SELECT DISTINCT customdbname_posts.ID FROM customdbname_posts.

    The issue seems to be caused by src\Tribe\Attendee_Repository.php:263.

    ON ( attendee_optout.post_id = wp_posts.ID uses a hardcoded prefix, and instead of wp_posts.ID, it should be {$wpdb->prefix}posts.ID.

    I’ve created a pull request here: https://github.com/moderntribe/event-tickets/pull/1279

    • This topic was modified 1 year, 1 month ago by justlevine. Reason: formatting
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Sky Shabatura

    (@skyshab)

    Hi there,

    Thanks for pointing this out! This will be fixed in an upcoming release.

    Appreciate the feedback!

    Sky

    Plugin Contributor Courtney Engle Robertson

    (@courane01)

    Hey there! This thread has been inactive for a while so we’re going to go ahead and mark it Resolved. Please feel free to open a new thread if any other questions come up and we’d be happy to help. πŸ™‚

    Thanks
    Courtney πŸ‘©πŸ½β€πŸ’»

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Latest update breaks Attendee Output (Unknown column ‘wp_posts.ID’)’ is closed to new replies.