I have updated from 3.6.1 to 3.8.1.. now the events are not displaying. help!

Home Forums Calendar Products Events Calendar PRO I have updated from 3.6.1 to 3.8.1.. now the events are not displaying. help!

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #880760
    discotoast
    Participant

    Hey there helpful person 🙂

    ok. so . I have been working on this site ( http://dtsandbox.com/visiteastmichigan.com/events/ ) and have upgraded the plugs ins from version 3.6.1 to 3.8.1… it was originally giving me an error that I had to change in functions.php ” upcoming ” to ” list ” which I have done.. This got rid of the depreciation error.. HOWEVER.. now when I go to my events page.. BAM.. there are no events .. yet there are events in the system.. is there a step i’m missing.. a display call. or something.

    it does display an event ( http://dtsandbox.com/visiteastmichigan.com/event/zehnders-splash-village-boy-scout-day/ ) .. just doesn’t display on /events/

    #880923
    Brian
    Member

    Hi,

    Sorry for the issues you are having.

    I took a look at the site and the single events are working and the widget is working. The event list did not work though. I believe it is a php error causing the issue. You mentioned having coding in your functions.php.

    Can you back out that coding and any custom templates you have and see if that solves the issue.

    Let me know what you find out.

    Thanks

    #880932
    discotoast
    Participant

    All I changed in the functions.php was the depretiated value of ” upcoming ” to ” list ”

    $events = get_posts(array(
    ‘posts_per_page’ => 1,
    ‘post_type’ => ‘tribe_events’,
    ‘eventDisplay’ => ‘upcoming’,
    ‘tribe_events_cat’ => ‘featured’
    ));

    #880937
    discotoast
    Participant

    This gives me a notice of ” Notice: tribe_get_events was called with an argument that is deprecated since version 3.8! Setting eventDisplay to ‘upcoming’ is deprecated. Please use ‘list’ instead. in /home/sandbox/public_html/visiteastmichigan.com/wp-includes/functions.php on line 3318 “

    #880947
    discotoast
    Participant

    yep… ok. I installed a standard wordpress theme and found that ( http://dtsandbox.com/visiteastmichigan.com/events/ ) works and displays the events.. so it’s something with in the custom theme I am using.

    where else would ” eventDisplay=> ‘upcoming’; ” show up do you think

    #882376
    Brian
    Member

    It looks like you have debug active on your site. Can you turn that off and see if that helps with your theme.

    If you need debug on I would recommend following the steps in the WordPress Debug Codex in the Example wp-config.php for Debugging section:

    http://codex.wordpress.org/Debugging_in_WordPress

    That will setup a debug log so you can check for issues there instead of displaying on your site.

    eventDisplay=> ‘upcoming’ should be changed to eventDisplay=> ‘list’ in your custom coding.

    There maybe some instances of the upcoming in the current versions of the Event Calendar also causing the message, but we are removing them in the next version.

    Let me know if that helps.

    Thanks

    #882429
    discotoast
    Participant

    yeah… turned off debug in my wp-config.. nothin.

    #882527
    Brian
    Member

    Ok I took a look at your site again and with debug off I found the error:

    Fatal Error : Call to undefined function tribe_has_past_events() in

    /visiteastmichigan.com/wp-content/themes/vem/tribe-events/list/nav.php on line 30

    tribe_has_past_events() has been removed in 3.7

    Compare that nav.php with the new one here:

    \wp-content\plugins\the-events-calendar\views\list\nav.php

    Please check that and all your other templates in this directory for updates:

    /visiteastmichigan.com/wp-content/themes/vem/tribe-events/

    Let me know if they fixes it.

    Thanks

    #882722
    discotoast
    Participant

    Thank you kind sir!! this was the fix I was looking for!

    #882907
    Brian
    Member

    Great, glad it helps, I am going to go ahead and close this ticket, but if you need any other on something else please post a new ticket.

    Thanks!

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘I have updated from 3.6.1 to 3.8.1.. now the events are not displaying. help!’ is closed to new replies.