• Hi Dan, I have Buddy Community Stats installed in the main page of a BP multisite, where BP is root on a subdomain. And the theme I use works with the page builder plugin SITEORIGIN.

    When I go to insert the Stat widget into a row, I get the following error:

    [28-Sep-2017 22:46:45 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function bp_is_register_page() in /home/mysite/public_html/wp-content/plugins/buddy-community-stats/bp-community-stats-widget.php:49
    Stack trace:
    #0 /home/mysite/public_html/wp-content/plugins/siteorigin-panels/inc/renderer.php(467): etivite_bp_community_stats_Widget->widget(Array, Array)
    #1 /home/mysite/public_html/wp-content/plugins/siteorigin-panels/inc/renderer.php(763): SiteOrigin_Panels_Renderer->the_widget(Array, Array, 7, 0, 0, true, true, 10158, '')
    #2 /home/mysite/public_html/wp-content/plugins/siteorigin-panels/inc/renderer.php(723): SiteOrigin_Panels_Renderer->render_widget(10158, 7, 0, 0, Array, true)
    #3 /home/mysite/public_html/wp-content/plugins/siteorigin-panels/inc/renderer.php(649): SiteOrigin_Panels_Renderer->render_cell(10158, 7, 0, Array, Array, Array)
    #4 /home/mysite/public_html/wp-content/plugins/siteorigin-panels/inc/renderer.php(272): SiteOrigin_Panels_Renderer->render_row(10158, 7, Array, Array)
    #5 /home/mysite/public_html/wp-content/pl in /home/mysite/public_html/wp-content/plugins/buddy-community-stats/bp-community-stats-widget.php on line 49

    Any ideas what I can do, besides leave the widget out?

    Thanks!

  • The topic ‘Help with PHP Fatal error!!’ is closed to new replies.