• Resolved bonnie447

    (@bonnie447)


    Hi all,

    I’m getting an error visible at the top of our site’s Dashboard that:

    “…wp-content/plugins/the-events-calendar/src/deprecated/TribeEventsAPI.php is deprecated since version 3.10! Use Tribe__Events__API instead. in /nas/content/live/cpfbb/wp-includes/functions.php on line 4802.”

    Not an expert on PHP and new to this plugin; would love advice on meaning and seriousness of this. Will this be resolved in a future update by itself? If not, how can I resolve myself? Apologies if this exists somewhere else already – so far the only questions like this one I saw had become abandoned threads and were not helpful.

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Support Chika Ibeneme

    (@chikaibeneme)

    Hi There,

    Thanks for reaching out, and sorry to hear about the issues you are having.

    It seems you may be calling the class ‘TribeEvents‘ which name has changed to ‘Tribe__Events__Main‘, Can you search for uses of ‘TribeEvents‘ in your functions.php file -located at wp-content/themes/your_theme/- and change those to ‘Tribe__Events__Main‘?

    NOTE: Please create a backup of your site before making any changes to this file.

    If you can check if the error is still present with default Tweentyfifteen theme (you can use the Twenty Twenty theme as well), that would be great as well

    Please let me know if you can manage to find the old class call,

    If not, you can try upgrading your plugins to the latest version or you can try our conflict guide here to try and narrow down the issue https://theeventscalendar.com/knowledgebase/k/testing-for-conflicts/

    • This reply was modified 4 years, 9 months ago by Chika Ibeneme.
Viewing 1 replies (of 1 total)
  • The topic ‘PHP deprecated name error?’ is closed to new replies.