Home › Forums › Calendar Products › Events Calendar PRO › Incorrect Use of tribe_is_recurring_event()
- This topic has 4 replies, 3 voices, and was last updated 9 years, 4 months ago by
Hans.
-
AuthorPosts
-
December 17, 2016 at 1:48 pm #1207397
Hans
ParticipantHi,
Just letting you know that I’m running deprecated calls plugin and it reports:
Incorrect Use of tribe_is_recurring_event()
Used in wp-content/plugins/events-calendar-pro/src/functions/template-tags/general.php on line 43.Alternative:
You need to pass a post ID or use it in the loop.
This message was added in version 3.10.Are you aware of this? All plugins and themes are up to date, so no version stuff going on. I get the same message on an localhost install using a different theme. One uses a studiopress genesis childtheme and the other the shopkeeper theme as is whitout custom templates or such.
I have no problems except that i am informed of this, so I thought just to let you know in case there is something in TEC Pro still causing this.
Kind regards,
Hans
December 19, 2016 at 3:11 pm #1207940Andras
KeymasterHello Hans,
Thanks for reaching out to us and reporting that.
Could you please give me more details on the issue so we can investigate?
What deprecated calls plugin are you using?
What are you doing / when do you get that error message?
Do you also get the same if you have all plugins deactivated, except for the calendar ones (and the deprecated calls plugin I guess) and switch to a default theme?
Looking forward to the info.
Thanks and cheers,
Andras
AndrasDecember 20, 2016 at 8:32 am #1208209Hans
ParticipantHi Andras,
To answer your questions:
1. the plugin that reports the deprecated call is: “Log Deprecated Notices” by Andrew Nacin (https://nl.wordpress.org/plugins/log-deprecated-notices/)2. I still get the message when all other plugins are deactivated and using theme twelve sixteen. Without too extended testing, it seems at least to be generated whenever the events archive is shown, not when showing the event single and not when I am already in the archive and go to previous events. So the events archive seems to be the source, and it seems to be part of your plugin rather than anything else.
Hope it helps.
kind regards,
Hans
December 20, 2016 at 1:03 pm #1208481Andras
KeymasterHi Hans,
Thanks for the extra info! That is so much appreciated!
I will share this with our development team so they can look into it.
With this note I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic in the forum and we will be glad to help you out.
I wish you a fantastic festive season!
Cheers,
Andras -
AuthorPosts
- The topic ‘Incorrect Use of tribe_is_recurring_event()’ is closed to new replies.
