Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbp user ranking conflict with Divi?


  • quilp
    Participant

    @quilp

    WordPress version 5.8.1
    bbPress version, 2.6.6
    bbp user rankin 3.5

    link to site. http://www.kingdompen.org

    Theme: Divi Version: 4.12.0

    We’ve been experiencing periodic site instability that is temporarily resolved by deactivating and reactivating bbpress plugins. Instability includes all site pages returning “No Results Found” and/or global header being stretched across half the page.

    Error log is showing errors for bbp user ranking

    error log example:

    [29-Oct-2021 14:34:43 UTC] PHP Fatal error: Uncaught Error: Call to undefined function bbp_get_user_topic_count_raw() in /home2/kingdqj0/public_html/wp-content/plugins/bbp-user-ranking/includes/functions.php:63
    Stack trace:
    #0 /home2/kingdqj0/public_html/wp-content/plugins/bbp-user-ranking/includes/functions.php(35): bur_display_counts(12415, ‘yes’)

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

  • Robin W
    Moderator

    @robin-w

    hmmm….

    ok so the function bbp_get_user_topic_count_raw definately exists, so it is possibly a load order issue, but you would expect that to be consistent – or it is something else 🙂

    intermittent issues are always hard to trace, can you recreate this, or how often is it happening, or it is happening to particular users (eg participant, subscriber) etc.


    quilp
    Participant

    @quilp

    Thank you.

    The issue, when it occurs is site-wide. All pages except the home page get affected.

    I’m not able to recreate or force the issue to recur. Once I deactivate all plugins and reactivate, the problem resolves and then recurs several hours to a couple of days later.

    I’ve got an inquiry into Elegant Themes as well and am awaiting a response.


    Robin W
    Moderator

    @robin-w

    ok, so when it occurs it is site wide and to all users including yourself? and casual (non logged in) visitors?


    quilp
    Participant

    @quilp

    Yes.

    I got a response from Elegant themes and they referred me back to bbpress without any suggestions.

    Do you have any suggestions for what I can do the next time it happens to capture more info to help troubleshoot?

    Thank you


    Robin W
    Moderator

    @robin-w

    I would switch debug on – and see what errors you are getting

    https://wpforms.com/developers/how-to-enable-debugging-in-wordpress/

    and see what error is occuring


    quilp
    Participant

    @quilp

    Following up on recommendation to turn debug on.

    BBPress is now Version 2.6.8

    With the most recent occurrence, I had debug mode on.

    To recap, periodically the blog page, blog posts, and bbpress forum return “No Results Found”

    Deactivating bbpress resolves the problem. bbpress can then be reactivated to restore forum functionality. Problem recurrs multiple times within a week.

    The last two occurrences of the issue were 6 days apart. Nov 17 and this morning Nov 23rd.

    debug log from 11/23

    23-Nov-2021 14:59:45 UTC] PHP Deprecated: get_option was called with an argument that is deprecated since version 5.5.0! The “blacklist_keys” option key has been renamed to “disallowed_keys”. in /home2/kingdqj0/public_html/wp-includes/functions.php on line 5495
    [23-Nov-2021 14:59:49 UTC] PHP Deprecated: get_option was called with an argument that is deprecated since version 5.5.0! The “blacklist_keys” option key has been renamed to “disallowed_keys”. in /home2/kingdqj0/public_html/wp-includes/functions.php on line 5495
    [23-Nov-2021 15:01:22 UTC] PHP Deprecated: get_option was called with an argument that is deprecated since version 5.5.0! The “blacklist_keys” option key has been renamed to “disallowed_keys”. in /home2/kingdqj0/public_html/wp-includes/functions.php on line 5495

    [23-Nov-2021 15:21:35 UTC] PHP Fatal error: Uncaught Error: Call to undefined function bbp_get_user_topic_count_raw() in /home2/kingdqj0/public_html/wp-content/plugins/bbp-user-ranking/includes/functions.php:63
    Stack trace:
    #0 /home2/kingdqj0/public_html/wp-content/plugins/bbp-user-ranking/includes/functions.php(35): bur_display_counts(12415, ‘yes’)
    #1 /home2/kingdqj0/public_html/wp-includes/class-wp-hook.php(303): bur_display_counts_bp_profile(”)
    #2 /home2/kingdqj0/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(”, Array)
    #3 /home2/kingdqj0/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #4 /home2/kingdqj0/public_html/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/cover-image-header.php(57): do_action(‘bp_before_membe…’)
    #5 /home2/kingdqj0/public_html/wp-includes/template.php(772): require(‘/home2/kingdqj0…’)
    #6 /home2/kingdqj0/public_html/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(222): load_template(‘/home2/kingdqj0…’, false, Array)
    #7 /home2/kin in /home2/kingdqj0/public_html/wp-content/plugins/bbp-user-ranking/includes/functions.php on line 63
    [23-Nov-2021 15:21:38 UTC] PHP Fatal error: Uncaught Error: Call to undefined function bbp_get_user_topic_count_raw() in /home2/kingdqj0/public_html/wp-content/plugins/bbp-user-ranking/includes/functions.php:63
    Stack trace:
    #0 /home2/kingdqj0/public_html/wp-content/plugins/bbp-user-ranking/includes/functions.php(35): bur_display_counts(12415, ‘yes’)
    #1 /home2/kingdqj0/public_html/wp-includes/class-wp-hook.php(303): bur_display_counts_bp_profile(”)
    #2 /home2/kingdqj0/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(”, Array)
    #3 /home2/kingdqj0/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #4 /home2/kingdqj0/public_html/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/cover-image-header.php(57): do_action(‘bp_before_membe…’)
    #5 /home2/kingdqj0/public_html/wp-includes/template.php(772): require(‘/home2/kingdqj0…’)
    #6 /home2/kingdqj0/public_html/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(222): load_template(‘/home2/kingdqj0…’, false, Array)
    #7 /home2/kin in /home2/kingdqj0/public_html/wp-content/plugins/bbp-user-ranking/includes/functions.php on line 63
    [23-Nov-2021 15:22:19 UTC] PHP Fatal error: Uncaught Error: Call to undefined function bbp_get_user_topic_count_raw() in /home2/kingdqj0/public_html/wp-content/plugins/bbp-user-ranking/includes/functions.php:63
    Stack trace:
    #0 /home2/kingdqj0/public_html/wp-content/plugins/bbp-user-ranking/includes/functions.php(35): bur_display_counts(12415, ‘yes’)
    #1 /home2/kingdqj0/public_html/wp-includes/class-wp-hook.php(303): bur_display_counts_bp_profile(”)
    #2 /home2/kingdqj0/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(”, Array)
    #3 /home2/kingdqj0/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #4 /home2/kingdqj0/public_html/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/cover-image-header.php(57): do_action(‘bp_before_membe…’)
    #5 /home2/kingdqj0/public_html/wp-includes/template.php(772): require(‘/home2/kingdqj0…’)
    #6 /home2/kingdqj0/public_html/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(222): load_template(‘/home2/kingdqj0…’, false, Array)
    #7 /home2/kin in /home2/kingdqj0/public_html/wp-content/plugins/bbp-user-ranking/includes/functions.php on line 63
    [23-Nov-2021 15:26:06 UTC] PHP Notice: Undefined property: stdClass::$new_version in phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php on line 698
    [23-Nov-2021 15:26:06 UTC] PHP Notice: Undefined property: stdClass::$new_version in phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php on line 698
    [23-Nov-2021 15:26:06 UTC] PHP Notice: Undefined property: stdClass::$new_version in phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php on line 698
    [23-Nov-2021 15:26:06 UTC] PHP Notice: Undefined property: stdClass::$new_version in phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php on line 698
    [23-Nov-2021 15:26:06 UTC] PHP Notice: Undefined property: stdClass::$new_version in phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php on line 698


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    That last one is simply a deprecation notice. It will not break anything.


    Robin W
    Moderator

    @robin-w

    ok, so when this happens

    – is it to just one person, the same person, different people, all people accessing the site
    – is the site unusable, does it freeze, or is it just if they try to do something ?


    quilp
    Participant

    @quilp

    – is it to just one person, the same person, different people, all people accessing the site

    it affects all people using the site. Except for the home page, all other pages return the “No Results found message”

    – is the site unusable, does it freeze, or is it just if they try to do something ?

    The home page is accessible – the site does not “freeze,” but the blog page, all blog posts, the about page, the resources page and the forum simply display a “Results Not Found” message. If bbpress is deactivated, then all pages function properly again but, of course the forum does not. Reactivating bbpress restores forum functionality, but within a matter of days, the problem returns.


    Robin W
    Moderator

    @robin-w

    I don’t think it will make a difference, but try

    dashboard>settings>permalinks and just click save – that just resets them


    quilp
    Participant

    @quilp

    I’ll do that the next time the problem reoccurs to see if that clears the problem without deactivating bbpress.

    Was there something in the debug log that led you to this recommendation, or was it just the description of the problem of “Results Not Found” ?

    Thank you!


    Robin W
    Moderator

    @robin-w

    I’m just trying stuff !! 🙂

    Intermittent problems are always hard to fix


    quilp
    Participant

    @quilp

    Okay… this issue just recurred. Deactivating bbpress resolved the issue, but upon reactivating the issue immediately returned. Resetting permalinks resolved the issue independent of deactivating/reactivating bbpress.

    Any idea of the root cause of the permalinks not working?


    Robin W
    Moderator

    @robin-w

    ok, let’s seee if it happens again, and if so try the permalink solution


    quilp
    Participant

    @quilp

    yes. it happened again about 40 minutes ago and resetting permalinks alone cleared the problem.

    So deactivating bbpress clears the problem

    and resetting permalinks clears the problem

    Any idea what the root cause may be?

    Thanks.


    Robin W
    Moderator

    @robin-w

    no idea, but I googled around and found this

    https://www.hostinger.co.uk/tutorials/wordpress-broken-permalinks

    I’d suggest taking a look at your htaccess file, but it’s not a speciality of mine, so proceed with caution 🙂

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