Home › Forums › Calendar Products › Community Events › Community Plugin throwing PHP Fatal Errors
- This topic has 5 replies, 2 voices, and was last updated 9 years, 11 months ago by Barry.
-
AuthorPosts
-
March 3, 2014 at 1:54 pm #111813baynatureParticipant
We’re having a problem on our site with The Event Calendar Pro, which we’ve had deactivate for now. We also deactivated and then reactivated the Community plugin. Since then it’s been working intermittently, and the error log shows the following entries. What would be causing this? Any work arounds? Thanks!
[Mon Mar 03 08:16:44 2014] [error] [client 108.222.68.233] PHP Fatal error: Call to undefined function tribe_is_community_my_events_page() in /nas/wp/www/cluster-2051/baynature2/wp-content/themes/bay-nature/page.php on line 14, referer: http://baynature.org/articles/building-wetland-ground/
[Mon Mar 03 08:17:10 2014] [error] [client 108.222.68.233] PHP Fatal error: Call to undefined function tribe_is_community_my_events_page() in /nas/wp/www/cluster-2051/baynature2/wp-content/themes/bay-nature/page.php on line 14, referer: http://baynature.org/news-digest-signup/
[Mon Mar 03 08:17:15 2014] [error] [client 108.222.68.233] PHP Fatal error: Call to undefined function tribe_is_community_my_events_page() in /nas/wp/www/cluster-2051/baynature2/wp-content/themes/bay-nature/page.php on line 14, referer: http://baynature.org/articles/building-wetland-ground/
[Mon Mar 03 08:19:14 2014] [error] [client 192.34.108.138] PHP Fatal error: Call to undefined function tribe_is_community_my_events_page() in /nas/wp/www/cluster-2051/baynature2/wp-content/themes/bay-nature/page.php on line 14, referer: http://baynature.org/board-of-directors/
[Mon Mar 03 08:26:04 2014] [error] [client 196.196.18.250] PHP Fatal error: Call to undefined function tribe_is_community_my_events_page() in /nas/wp/www/cluster-2051/baynature2/wp-content/themes/bay-nature/page.php on line 14, referer: http://baynature.org/articles/finding-my-charlie-brown-perfect-at-san-pedro-headlands/
[Mon Mar 03 08:32:03 2014] [error] [client 91.121.11.117] PHP Fatal error: Call to undefined function tribe_is_community_my_events_page() in /nas/wp/www/cluster-2051/baynature2/wp-content/themes/bay-nature/page.php on line 14
[Mon Mar 03 08:34:15 2014] [error] [client 65.55.219.100] PHP Fatal error: Call to undefined function tribe_is_community_my_events_page() in /nas/wp/www/cluster-2051/baynature2/wp-content/themes/bay-nature/page.php on line 14March 3, 2014 at 4:55 pm #111920BarryMemberHi!
Thanks for creating a new thread for this one:
tribe_is_community_my_events_page() in /…/themes/bay-nature/page.php
So it looks like you may have customized your page.php template. Can you confirm if that is the case and perhaps share the customized code via Pastebin, Gist or a similar service?
Thanks!
March 4, 2014 at 9:36 am #112318baynatureParticipantHi Barry,
I’ve posted our page.php here: https://gist.github.com/lschatzkin/9351512
Please let me know if there is other code you’d like to look at.
Thanks,
LauraMarch 4, 2014 at 12:07 pm #112418BarryMemberOK, so one approach could be to ‘guard’ that code, something like:
if ( function_exists( 'tribe_is_community_my_events_page' ) && tribe_is_community_my_events_page() ) { /* ... */ }
I hope that helps – but since it is your own custom code, however, we’ll need to leave this one to you to resolve. If we can clarify anything else please just let us know 🙂
March 4, 2014 at 12:10 pm #112422baynatureParticipantI see, I’ll give that a try and see if it helps.
Thanks for sticking with me on this!
LauraApril 21, 2014 at 7:38 am #138285BarryMemberClosing this thread as it’s been quite a while – of course if we can help with anything else please do create a new thread. Thanks!
-
AuthorPosts
- The topic ‘Community Plugin throwing PHP Fatal Errors’ is closed to new replies.