Upgrading my Wordpress website to run the latest version of The Events Calendar plugin has caused some custom functionality on my website to be displaying incorrectly. This was upgraded from version 4.8.2 > 4.9.3.2. Now, the images relating to these events are not loading as they once did. I can provide all errors from the page from WP_DEBUG if needed.
Bob answers:
can you please provide functions.php code?
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/amccadvvsr/public_html/iw/wp-includes/functions.php on line 4652
According to above notice you just need to change word "upcoming" to "list" at the line no 4652 of functions.php
For all sidebar related notice just add unique id.
You need to add lines like..
'id' => 'sidebar-1',
** To keep all the content as it is in sidebar add id as following in functions.php of theme.**
eg. sidebar = id
-------------------------
Blog Sidebar = sidebar-1,
Page Sidebar = sidebar-2
WooCommerce Sidebar = sidebar-3
Footer Area 1 = sidebar-4
Footer Area 2 = sidebar-5
Footer Area 3 = sidebar-6
Footer Area 4 = sidebar-7
Let me know if you wish to solve the all the notices and errors while you enable debugging.
Email: [email protected]
Skype: thevaghela
Rempty answers:
Hello
url of the webpage
Paul Maurer comments:
http://abbeymeccadev.com/iw
Rempty comments:
Looks like the function
tribe_event_featured_image
was changed a bit and need a 3rd parameter like
tribe_event_featured_image( $event_id, 160, 160, true );
Rempty comments:
You need to update the functons used in your theme to make it compatible.
Rempty comments:
Do you still need help?
Arnav Joy answers:
What errors you are getting in log?
Paul Maurer comments:
I've activated WP_DEBUG so you can see the errors.
Arnav Joy comments:
Hello Paul,
Can you please provide me access to your site: [email protected]
Cesar Contreras answers:
It seems that you only need to make small changes to your function file, the records mark things about the sidebar, the footer and the widget.
You can share these functions to see them in detail and to give you a solution
Echeverri comments:
Exactly, it seems that some functions are obsolete
Echeverri answers:
can you please provide functions.php code?
According to above notice you just need to make little changes on your functions.php file
Hugo Gonçalves answers:
Hi Paul!
Could you please provide the functions you are using related to the calendar?
You might have noticed this, since you have the debug on:
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/amccadvvsr/public_html/iw/wp-includes/functions.php on line 4652
Does it affect anything, by changing 'upcoming' to 'list' on the line 4652, in functions.php?
Cheers
Hugo