Community Plugin throwing PHP Fatal Errors

Home Forums Calendar Products Community Events Community Plugin throwing PHP Fatal Errors

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #111813
    baynature
    Participant

    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 14

    #111920
    Barry
    Member

    Hi!

    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!

    #112318
    baynature
    Participant

    Hi 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,
    Laura

    #112418
    Barry
    Member

    OK, 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 🙂

    #112422
    baynature
    Participant

    I see, I’ll give that a try and see if it helps.
    Thanks for sticking with me on this!
    Laura

    #138285
    Barry
    Member

    Closing 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!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Community Plugin throwing PHP Fatal Errors’ is closed to new replies.