Skip to:
Content
Pages
Categories
Search
Top
Bottom

“User” Page seems to be stuck in a loop


  • sflwa
    Participant

    @sflwa

    I’m not sure how / where this might have broken – I know it was working.

    If I click on the name of a user (example: https://bbpress.org/forums/profile/sflwa/)
    On my site it is domain/users/NICENAME
    All of the sudden the page just spins and spins and spins

    If I put the site into troubleshooting mode – for users with only a few topics / replies I can get it to pull up but it seems like it is stuck in a loop as it just keeps repeating the profile information over and over and over.

    Any thoughts as to what might be causing this or what page / file I need to check to debug it.

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

  • Verdant Studio
    Participant

    @verdantstudio

    With troubleshooting mode you mean debug mode? https://wordpress.org/documentation/article/debugging-in-wordpress/

    That would be a good way to start yes, if you have a local or test setup in which you can reproduce the exact same error, I would try turning plugins off one by one there, to see if it is being caused by any of them.

    Errors like these can have many causes but the template for this particular page is at
    /bbpress/templates/default/bbpress/user-profile.php


    sflwa
    Participant

    @sflwa

    @verdantstudio

    I did both debug mode within WordPress as well as the Site Health and Troubleshooting.

    In Site Health and Troubleshooting I did just bbpress with the default wordpress theme – seems to be an issue in both cases.

    I tried to comment out everything inbetween the before/after in the profile page and had the same result.

    This had been working fine – it is something recent that caused it.


    confusedneedhelp
    Participant

    @confusedneedhelp

    Hi,

    I have the same problem. I am using the Astra theme and since the latest update to 4.0.2 the user page enters a constant loop trying to load the profile info until the server cannot cope.

    Are you using the Astra theme? I tried their support but they were not helpful. If I go back to the previous version of Astra it works ok.

    I am using the default Astra theme with only BBpress activated. I can provide a link to a staging site if anyone wants to see it.


    confusedneedhelp
    Participant

    @confusedneedhelp

    Here is a screenshot. The text “It seems we cannot…” is new and should not be there.

    Screenshot


    sflwa
    Participant

    @sflwa

    @confusedneedhelp

    As a matter of fact I am running astra – I didn’t think to try the page with a default theme.

    I have the pro version so I’ll test that again and reach out to them


    confusedneedhelp
    Participant

    @confusedneedhelp

    Screenshot

    Screenshot-2023-01-30-114930

    If you can add to my topic on the Astra support it may help things.

    https://wordpress.org/support/topic/bbpress-user-profile-broken-on-latest-update/


    sflwa
    Participant

    @sflwa

    @confusedneedhelp

    Astra has confirmed that there is a conflict – they are working to resolve – they created an internal ticket


    Robin W
    Moderator

    @robin-w

    I spent a couple of hours yesterday hunting down the issue.

    This code fixes it :

    add_filter ('astra_single_layout_one_banner_visibility', 'astra_bbpress_fix', 50) ;
    
    function astra_bbpress_fix ($value) {
    	if( class_exists( 'bbpress' ) ) {
    		if (bbp_is_single_user()) return false ;
    		if (bbp_is_search()) return false ;
    	}
    return $value ;
    }

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

    where %your-theme-name% is the name of your theme

    or use

    Code Snippets


    Robin W
    Moderator

    @robin-w

    for others finding this thread – if you have the additional bbp-style-pack plugin – and why would you not have this 🙂 – and are at the latest version

    bbp style pack

    then this fix is available at a single click – so not coding or other plugins needed.

    once activated just go to

    dashboard>settings>bbp style pack and click the theme support button


    sflwa
    Participant

    @sflwa

    @robin-w

    Just wanted to confirm the theme support checkbox is working – one thing of note – I had to update to the latest version 🙂


    Robin W
    Moderator

    @robin-w

    thanks for confirming, yes I only put that change into the latest version 🙂 wording above amended to make that clear


    evanhgh
    Participant

    @evanhgh

    Hi @robin-w,

    Has this feature been changed/removed in your plugin?

    I’ve just updated to the latest version and I can’t seem to find it.

    I’ve just come across this same issue, where if I navigate to “View Latest Topics” (https://snipboard.io/wTzMvL.jpg)

    it loads and reloads additional versions of the content infinitely until the browser runs out of ram.
    https://homesteadacademy.com/forums/view/latest-topics/

    I have tried the snippet you kindly provided in the “code snippet” plugin but no luck.

    Any advice for me?


    Robin W
    Moderator

    @robin-w

    what version of Astra are you on?


    evanhgh
    Participant

    @evanhgh

    I’m on Astra 4.1.3

    By the way, I really love the work you’ve done on that plugin! It’s saved by bacon 100 times by now


    evanhgh
    Participant

    @evanhgh

    Here is the link that I’m referring to (if that helps)
    https://homesteadacademy.com/forums/view/latest-topics/


    Robin W
    Moderator

    @robin-w

    ok, is that from a shortcode, or how are you getting to that page?


    evanhgh
    Participant

    @evanhgh

    From the main forums page:
    https://snipboard.io/lP2WFx.jpg

    I’m not totally sure exactly how that link is generated :/


    evanhgh
    Participant

    @evanhgh

    ahhh you know i think i found something,
    I think that block is generated by the GD bbPress Toolbox Pro Plugin

    I’ll disable that functionality for now and reach out to that plugin dev to see if he can fix the bug.

    Thanks for your time and help!


    Robin W
    Moderator

    @robin-w

    Thanks, I’ve just found the issue and am working on a fix, so hold on contacting plugin author.

    It is an Astra theme issue – I’ll come back shortly


    Robin W
    Moderator

    @robin-w

    ok, I’ve released version 5.5.2 of

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Theme Support and there is a fix in there which stops this.

    I will report the issue to Astra as well to fix in a future release of their theme


    evanhgh
    Participant

    @evanhgh

    It worked Flawlessly! Well done, and Thank You!


    Robin W
    Moderator

    @robin-w

    great – glad you are fixed 🙂


    seylen
    Participant

    @seylen

    If anyone else has experienced this problem or has any suggestions for debugging or resolving it, I would greatly appreciate your input.


    Robin W
    Moderator

    @robin-w

    ok, so do you have the Astra theme?

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