• I’m working on a site for a client which uses both the-events-calendar and another plugin, bp-groupblog, which allows BuddyPress groups to have blogs.

    The custom queries that the-events-calendar uses were conflicting with bp-groupblog and causing it to 404 whenever the group blog was visited.

    I’ve fixed this by adding another check to The_Events_Calendar::in_event_category to check for The_Events_Calendar::eventCategory returning false

    This happens when the group blog doesn’t have an Event category – the current version gets a bit confused when it compares the event category to the cat query var (which is not set). Because they both return empty strings, that check was passing, and the event calendar’s SQL was being used when it shouldn’t have been.

    I have a patch – happy to email that over to whoever. Or just add:

    if( !$this->eventCategory() ) {
      // No event category is set
      return false;
    }

    At line 683 in the-events-calendar.class.php

  • The topic ‘the-events-calendar is not compatible with bp-groupblog’ is closed to new replies.