WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar
tribe_get_start_date() not working after update (2.0.2) (18 posts)

  1. holgee
    Member
    Posted 2 years ago #

    After Updating The Events Calendar Plugin to 2.0.2 the call of the event start date is not working ?

    this is what i used and what works fine in the previos version (2.0.1)

    <?php echo tribe_get_start_date(); ?>

    Are there any changes regarding this ?

    Thanks in advance for help !!!

    Holger

    http://wordpress.org/extend/plugins/the-events-calendar/

  2. mrwweb
    Member
    Posted 2 years ago #

    +1. I'm getting the same issue post-upgrade.

  3. christinebarry
    Member
    Posted 2 years ago #

    I am getting the same issue as well, post-upgrade.

  4. mrwweb
    Member
    Posted 2 years ago #

    I just submitted a bug report via email to the tribe email account. I'd encourage everyone to do the same or to add it to this thread in their forums if you have a PRO account: http://tri.be/support/forums/topic/after-upgraded-to-2-02-start-date-end-date-disappeared/

    I've gotten confirmation from Tribe that they've passed on my report to their QA team, but if we can give them more reproducible instances of the bug, figuring out a solution should be easier.

    If you submit a bug, help them out and use their requested format on http://tri.be/support/forums/.

  5. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 2 years ago #

    Thanks for reporting this, guys. We've got the devs looking at it now - I'm unable to recreate on my end, but since you're all reporting it there sounds to be something definitely up. If you can post more about your situation here, as mrwweb suggests, I'll be checking it consistently this week and can pass that on to the team accordingly to make sure this is addressed as soon as possible.

  6. mrwweb
    Member
    Posted 2 years ago #

    Thanks, roblagatta.

    FWIW, it's not an issue with recurring events. I don't have any.

    I'm poking around further and will see if I can produce the bug in other ways.

  7. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 2 years ago #

    Right - this doesn't sound recurrence-specific, since free doesn't include recurring events anyway.

  8. Nick Ciske
    Member
    Posted 2 years ago #

    Confirmed as a bug that crept into Events 2.0.2. Fix to be released shortly

  9. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 2 years ago #

    Hey guys, just a heads up that while we're fixing this for 2.0.3, Nick has put together a brief blog post on a workaround that can fix it in the interim. Hopefully this will help: http://tri.be/patch-for-the-events-calendar-2-0-2-date-bug/. Let us know if it doesn't, and apologies for the inconvenience.

  10. werm42
    Member
    Posted 2 years ago #

    Applied the patch, still doesn't fix the issue, hope this isn't the "committed solution" for v2.0.3, because it's not fixing the issue.

  11. mrwweb
    Member
    Posted 2 years ago #

    This did work for me.

  12. Nick Ciske
    Member
    Posted 2 years ago #

    werm42 - This is the patch going into 2.0.3 as it does fix the bug. Can you provide some more details on your issue so we can look into it?

  13. Michael
    Member
    Posted 2 years ago #

    I am a brand new user of The Events Calendar because I had to migrate a standalone WordPress 3.0.4 site into our WordPress 3.2.1 multisite network. The month view is pretty nice; I could see budgeting for the Pro version next FY.

    Anyway, I upgraded their events from version 1.6.4 to 2.0.2 of The Events Calendar, and I noticed the Start Date, End Date bug mentioned here, and the hotfix from Nick Ciske's blog post solved that problem. Which is great, because the missing Date was causing some weird alignment issues in the tribe-events-event-meta section.

    However, I am still noticing another odd problem with the way the Events List Widget interacts with the individual event page. Before the hotfix, when the individual event was displayed, and that upcoming event was in the sidebar, both the start and end date for that event were missing in the sidebar; just a hyphen. And other event in the sidebar was missing the end date. Example:

    UPCOMING POETRY EVENTS
    January 30, 2012 8:15 pm -
    Susan Stewart & Mark Strand
    -
    Terrance Hayes

    After the hotfix, the former was fixed, but not the latter. The end date does not display for the other event. You can see problem swapped between the two sidebar events at both links.
    http://poetry.princeton.edu/event/terrance-hayes/
    http://poetry.princeton.edu/event/susan-stewart-mark-strand/

    -----

    And another possible bug with the widget. When paging back to older entries from the main page, the upcoming events disappear from the Events List Widget.
    http://poetry.princeton.edu/
    http://poetry.princeton.edu/page/2/

    -----

    Also, not to hijack the thread with a completely different bug (or feature?), but on the same Poetry site, I noticed that the site authors had never filled in an Organizer. So on all of the individual event pages, it filled in the Organizer field with the Event Title. Even though the Organizer Name is still blank in the Edit Event screen. See the two individual event links above and this one:
    http://poetry.princeton.edu/event/performance-studies-memories-and-futures-symposium/

    Thanks,
    Michael

  14. Nick Ciske
    Member
    Posted 2 years ago #

    Pastebin updated -- should fix the end date issue.

  15. Michael
    Member
    Posted 2 years ago #

    Yes, the updated Pastebin version fixed the end date issue in the sidebar widget. Thanks.

  16. alvarix
    Member
    Posted 2 years ago #

    Hi, I just applied the patch.
    Pre patch, the function output nothing.
    Post patch it is outputting today's date, rather than the event date.

    wp: 3.2.1
    tec, tec pro: 2.0.2

    <div class='month'><?php echo tribe_get_start_date( null, false, 'M' ); ?></div>
    <div class='day'><?php echo tribe_get_start_date( null, false, 'd' ); ?></div>

    fwiw, this is in my local testing environment.

  17. alvarix
    Member
    Posted 2 years ago #

    update:
    I get the above error with this loop:

    $events= tribe_get_events(array('eventDisplay'=>'upcoming', 'posts_per_page'=>3) );
    foreach( $events as $event ) : setup_postdata($event);

    however, if i call events like so:

    query_posts('showposts=3&post_type=tribe_events');if(have_posts()) {
                         $x = 1;
                            while (have_posts()) {
                               the_post();

    the tribe_get_start_date() function works correctly.

  18. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 2 years ago #

    Just a heads up that this is confirmed as fixed in 2.0.3, which should be out early next week. Thanks for bearing with us on this everyone, and my continued apologies for the inconvenience you've faced in the interim.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic