Home › Forums › Calendar Products › Events Calendar PRO › tribe_is_recurring_event is called incorrect
- This topic has 6 replies, 4 voices, and was last updated 9 years, 5 months ago by
Jacob.
-
AuthorPosts
-
October 27, 2016 at 10:08 am #1183917
Jacob
ParticipantHi
I get this error when trying to access a single_event
“Notice: tribe_is_recurring_event is called incorrect. You need to pass a post ID or use it in the loop. etc…. ”
I also get this warning wheni try to get system information from the settings screen:
Warning: sprintf(): Too few arguments in /hsphere/local/home/nijathy/jaxweb.dk/dianalunddk/wp-content/plugins/the-events-calendar/src/admin-views/tribe-options-display.php on line 51Please help
Regards Jacob Thygesen
October 27, 2016 at 11:54 am #1183973Jacob
ParticipantIt seems that “the loop” is getting af post-0 before it reads the actual event-post, when i look at the generated html
October 27, 2016 at 3:26 pm #1184102Andras
KeymasterHello Jacob,
Thanks for going Pro and welcome to the forums! I’m sorry about this issue you are having. Let me try to help you out with this one.
Are you also getting the errors is you deactivate all plugins and leave only the Modern Tribe ones active? Would be best to run a full test for conflicts based on this: https://theeventscalendar.com/knowledgebase/testing-for-conflicts/
Also, can you point me to the single event page where that is happening? Is it a single event or an instance of a recurring event?
Thanks and cheers,
AndrasOctober 28, 2016 at 10:59 pm #1184781Jacob
ParticipantI have tried unplugging all other plugins – and it is still persisting. It is both happening for single and reccuring events. The page is http://jaxweb.dk/dianalunddk/arrangement/sebastian-skore-safarishow/
I hvae also tried to return to your standard single-event.php and not using the custom single-event.php for the theme.
October 31, 2016 at 2:28 pm #1185488Andras
KeymasterHi Jacob,
Thanks for running the test. Apart from deactivating the plugins, did you also try switching the theme to a default like twentysixteen ?
If you still get the error with twentysixteen then we can dig further. If you don’t get the error with it, then there’s something fishy in the theme you are using. Check if there is any customization using the tribe_is_recurring_event function. Disable that and check if that fixes it.
Here’s an idea for the second error that you get on the admin. It could be a translation that did not include the placeholders like %s or %d. To fix this you can do the following:
Quick:
- Switch your WordPress language to English and check if you still get the error. If not, the read further. If you still get the error in English, then let me know.
Long:
- find your translation files here wp-content\plugins\the-events-calendar\lang\and here wp-content\plugins\events-calendar-pro\lang\
- Open the .po files with PoEdit
- Choose Catalog > Update from POT file
- Browse for the .pot file in the respective folders above
- Check if the translations are correct with special attention to the %s, %d and similar ones
Let me know the results and we’ll take it further from there, if needed.
One more thing I discovered, it seems you are using the same slug for events and event. That could also cause issues, I recommend changing one of those under Events > Settings > General tab.
Cheers,
AndrasNovember 22, 2016 at 8:35 am #1195889Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘tribe_is_recurring_event is called incorrect’ is closed to new replies.
