Skip to:
Content
Pages
Categories
Search
Top
Bottom

Members profile page breaks during load


  • richard.miller
    Participant

    @richardmiller-1

    BuddyPress: 4.1.0
    WP: 5.0.2
    site link: (private site)

    On the members profile pages, clicking certain menu tabs breaks the page – clicking “notifications”, “groups”, or “settings” causes the page to be cut off just below those menu items.

    Through plugin and theme disabling, I’ve narrowed the problem down to an incompatibility between BuddyPress and my Divi child theme.

    I also learned that an incomplete page is likely due to a fatal PHP problem, so I captured the debug log – sure enough, BuddyPress PHP errors all over the place.

    Unfortunately, I’m not savvy enough to know what they mean, or how to fix them.

    An insight AT ALL would be appreciated.

    —–

    [15-Jan-2019 00:59:22 UTC] PHP Notice:  add_option was called with an argument that is <strong>deprecated</strong> since version 2.3.0 with no alternative available. in /nas/content/live/thefluentself/wp-includes/functions.php on line 4048
    [15-Jan-2019 00:59:22 UTC] PHP Notice:  add_option was called with an argument that is <strong>deprecated</strong> since version 2.3.0 with no alternative available. in /nas/content/live/thefluentself/wp-includes/functions.php on line 4048
    [15-Jan-2019 00:59:22 UTC] PHP Notice:  Undefined variable: titletext in /nas/content/live/thefluentself/wp-content/themes/fluent-self-2017/buddypress/members/single/index.php on line 31
    [15-Jan-2019 00:59:22 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function bp_is_user_forums() in /nas/content/live/thefluentself/wp-content/themes/fluent-self-2017/buddypress/members/single/home.php:88
    Stack trace:
    #0 /nas/content/live/thefluentself/wp-includes/template.php(690): require()
    #1 /nas/content/live/thefluentself/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(155): load_template('/nas/content/li...', false)
    #2 /nas/content/live/thefluentself/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(61): bp_locate_template(Array, true, false)
    #3 /nas/content/live/thefluentself/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(338): bp_get_template_part('members/single/...', NULL)
    #4 /nas/content/live/thefluentself/wp-content/plugins/buddypress/bp-members/classes/class-bp-members-theme-compat.php(212): bp_buffer_template_part('members/single/...', NULL, false)
    #5 [internal function]: BP_Members_Theme_Compat->single_dummy_content('')
    #6 /nas/content/live/thefluentself/wp-includes/class-wp- in /nas/content/live/thefluentself/wp-content/themes/fluent-self-2017/buddypress/members/single/home.php on line 88
    [15-Jan-2019 00:59:24 UTC] PHP Notice:  add_option was called with an argument that is <strong>deprecated</strong> since version 2.3.0 with no alternative available. in /nas/content/live/thefluentself/wp-includes/functions.php on line 4048
    [15-Jan-2019 00:59:24 UTC] PHP Notice:  Only variables should be assigned by reference in /nas/content/live/thefluentself/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    [15-Jan-2019 00:59:24 UTC] PHP Notice:  get_currentuserinfo is <strong>deprecated</strong> since version 4.5.0! Use wp_get_current_user() instead. in /nas/content/live/thefluentself/wp-includes/functions.php on line 3853
    [15-Jan-2019 00:59:26 UTC] PHP Notice:  add_option was called with an argument that is <strong>deprecated</strong> since version 2.3.0 with no alternative available. in /nas/content/live/thefluentself/wp-includes/functions.php on line 4048
    [15-Jan-2019 00:59:26 UTC] PHP Notice:  Only variables should be assigned by reference in /nas/content/live/thefluentself/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 590
    [15-Jan-2019 00:59:26 UTC] PHP Notice:  get_currentuserinfo is <strong>deprecated</strong> since version 4.5.0! Use wp_get_current_user() instead. in /nas/content/live/thefluentself/wp-includes/functions.php on line 3853
Viewing 2 replies - 1 through 2 (of 2 total)

  • shanebp
    Moderator

    @shanebp

    bp_is_user_forums() is not used in the current BuddyPress template files.

    The fatal errors are due old BuddyPress files coming from your child theme – not from buddypress plugin files.

    PHP Fatal error: Uncaught Error: Call to undefined function bp_is_user_forums() in /nas/content/live/thefluentself/wp-content/themes/fluent-self-2017/buddypress/members/single/home.php:88

    Perhaps there is a new version of your theme ?
    Or you could ask the theme creators about the error?

    You could try deleting all BuddyPress files in your child theme.
    Or you could try updating the buddypress/members/single/home.php file in your child theme.


    richard.miller
    Participant

    @richardmiller-1

    Thank you so much, this is very helpful!

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