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!
- This topic has 9 replies, 2 voices, and was last updated 11 years, 6 months ago by
Brian.
-
AuthorPosts
-
November 12, 2014 at 3:42 pm #880760
discotoast
ParticipantHey 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/
November 12, 2014 at 5:02 pm #880923Brian
MemberHi,
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
November 12, 2014 at 5:05 pm #880932discotoast
ParticipantAll 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’
));November 12, 2014 at 5:06 pm #880937discotoast
ParticipantThis 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 “
November 12, 2014 at 5:12 pm #880947discotoast
Participantyep… 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
November 13, 2014 at 8:46 am #882376Brian
MemberIt 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
November 13, 2014 at 9:06 am #882429discotoast
Participantyeah… turned off debug in my wp-config.. nothin.
November 13, 2014 at 9:29 am #882527Brian
MemberOk 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
November 13, 2014 at 11:18 am #882722discotoast
ParticipantThank you kind sir!! this was the fix I was looking for!
November 13, 2014 at 1:03 pm #882907Brian
MemberGreat, 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!
-
AuthorPosts
- 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.
