Home › Forums › Calendar Products › Events Calendar PRO › PHP Fatal error: Call to undefined function tribe_is_week()
- This topic has 7 replies, 4 voices, and was last updated 9 years, 10 months ago by
Darren.
-
AuthorPosts
-
June 9, 2016 at 3:50 am #1124356
Darren
ParticipantHi, woke up this morning to discover that a site is offiline.
Looking in the error logs I have this..[09-Jun-2016 10:38:31 UTC] PHP Fatal error: Call to undefined function tribe_is_week() in /home/dev/public_html/wp-content/themes/Avada/functions.php on line 280
Is this related to the update issue and what do I need todo to fix it please?
I can’t login to wp-admin
June 9, 2016 at 6:52 am #1124432George
ParticipantHey @Darren,
Sorry to hear this!
1. That function exists in Events Calendar Pro. Do you have Events Calendar Pro installed and activated on your site?
2. Also, to the best of your knowledge can you remember what version of Events Calendar Pro it might be?
Thank you,
GeorgeJune 9, 2016 at 8:00 am #1124484Darren
ParticipantHi George,
Pro is installed. The error occurred because of the update (automatic) to 4.2 last night (my UK time).
I’ve gone back to 4.1.2 and the sites working again. However obviously at some point im going to want to update to 4.2 but its going to cause issues with the Avada theme (V 4.0.2) I have installed so im not sure what to do?June 9, 2016 at 8:06 am #1124490George
ParticipantHey @Darren,
Thanks for following up. I’m glad to hear that going back to 4.1.2 was both possible and is a temporary solution for now.
⚠️ Now that your site is temporarily up-and-running again, can you post your site’s “System Information” here to help us investigate? Here’s how ? https://theeventscalendar.com/knowledgebase/sharing-sys-info/
Troubleshooting the Error Message
The 4.2 updates do not remove that tribe_is_week() function or anything…the tribe_is_week function is there regardless; I cannot reproduce the error you describe; and we have no other reports of the error.
So, here is what I would recommend:
1. Update The Events Calendar first.
2. Then update Events Calendar Pro.
3. What do you find?If the errors arise again, then I would recommend this:
1. Roll back to 4.1.2
2. Temporarily activate a default theme on your site, like Twenty Twelve or Twenty Sixteen.
3. Update The Events Calendar first.
4. Then update Events Calendar Pro.
5. What do you find?
☝️ I’m sorry to recommend all of these steps, along with sharing system information—I just unfortunately cannot think of another useful step here because we cannot reproduce this error, and the function does still exist within Events Calendar Pro.
Thank you!
GeorgeJune 10, 2016 at 1:56 am #1124947June 10, 2016 at 12:27 pm #1125323George
ParticipantThis reply is private.
June 25, 2016 at 9:35 am #1131922Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘PHP Fatal error: Call to undefined function tribe_is_week()’ is closed to new replies.
