Skip to:
Content
Pages
Categories
Search
Top
Bottom

Fatal error: on them theme template


  • Fahim Murshed
    Participant

    @fahimmurshed

    Got this error on this theme.

    Fatal error: Uncaught Error: Call to undefined function bp_is_user_forums() in /Applications/MAMP/htdocs/moview/wp-content/themes/moview/members/single/home.php:85 Stack trace: #0 /Applications/MAMP/htdocs/moview/wp-includes/template.php(724): require() #1 /Applications/MAMP/htdocs/moview/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(155): load_template('/Applications/M...', false) #2 /Applications/MAMP/htdocs/moview/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(61): bp_locate_template(Array, true, false) #3 /Applications/MAMP/htdocs/moview/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(338): bp_get_template_part('members/single/...', NULL) #4 /Applications/MAMP/htdocs/moview/wp-content/plugins/buddypress/bp-members/classes/class-bp-members-theme-compat.php(212): bp_buffer_template_part('members/single/...', NULL, false) #5 /Applications/MAMP/htdocs/moview/wp-includes/class-wp-hook.php(286): BP_Members_Theme_Compat->single_dummy_content('') #6 /Applications/MAMP/h in /Applications/MAMP/htdocs/moview/wp-content/themes/moview/members/single/home.php on line 85

    This file line is: /Applications/MAMP/h in /Applications/MAMP/htdocs/moview/wp-content/themes/moview/members/single/home.php on line 85

    
    		elseif ( bp_is_user_forums() ) :
    			bp_get_template_part( 'members/single/forums'   );
    

    moview theme

    If I delete this folder from this theme, style is broken.

    Please help me.

Viewing 2 replies - 1 through 2 (of 2 total)

  • shanebp
    Moderator

    @shanebp

    The error is coming from your theme – Not from BuddyPress.

    bp_is_user_forums() was removed from BuddyPress since Version 3.0.0

    You could delete those two lines from themes/moview/members/single/home.php
    If you did not add BP templates to your theme, then you could also send an error report to the creators of your theme.


    Fahim Murshed
    Participant

    @fahimmurshed

    Thank you so much. I forget to check that. I’ll inform you.

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar