Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 76 through 100 (of 64,445 total)
  • Author
    Search Results
  • #245526
    Robin W
    Moderator

    ok, I am not a bbpress author, just someone who tries to help out.

    So it’s Sunday morning here in the UK, and I have guests coming for lunch, so I will try and pick this up later.

    But let’s just eliminate some stuff.

    1.

    dashboard>settings>permalinks and just click save – this resets the permalinks and may help

    2.

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    #245519
    qiwichupa
    Participant

    Hi. I have encountered this problem: after installing bbpress and converting Mingle forum (this operation was not without problems), in some topics some permalinks are generated with wrong pages.

    For example, following this link…:
    mydomain/bbforums/topic/stream-records/page/8#post-121032
    (I deleted the real domain since my thread was marked as spam, but I can provide it below if needed.)

    … we get to page 8 and go down to post 121032 – the second one on that page. But if we go up to the first post on this page, we can see that the link to it is formed as “…/page/7#post-120964″ – as if the post was located on the previous page. Also, if you go down to the bottom of this page, you will see that the last posts are formed as “…/page/9#post-121104″. – that is leading to the next page.

    Of course, I experimented with the settings of the paginator, changed the number of displayed posts on the page. In fact, it didn’t change anything, only the posts with the same error were changed. At the same time, if you do not change the settings of the paginator, a few posts with an incorrect link managed to “cure” by splitting the topic starting from this post, and then connecting the new topic with the previous one. But the above post didn’t work, so we can’t say that this is the solution.

    I suspect that the cause of the problem may be an incorrectly performed forum import operation, but this operation was not easy (all posts were initially converted as replays and I had to manually correct their status in the database, also some posts were duplicated and were in the wrong id-order) and I would like to understand what exactly can cause this problem and how to fix it.

    Of course I’ve already tried bbpress’ built-in error correction options, but they didn’t have any effect.

    It’s strange that the paginator seems to be working correctly – it gives the right number of posts per page, and links to these pages also work correctly, but the permalinks with anchors are not working correctly.

    Maybe someone has encountered a similar problem and can advise in what direction to look for its solution?

    Tech info:
    WordPress Version: 6.8.1
    Current WordPress Theme: Twenty Fourteen/twentyfourteen-garage version 1.2
    PHP Version: 7.4.33
    MySQL Version: 10.6.22-MariaDB-0ubuntu0.22.04.1
    bbPress (2.6.14)
    bbP private groups (3.9.7)
    bbp style pack (6.3.9)

    the last two plugins do not affect the problem, when you turn them off it remains

    tonernews
    Participant

    Since bbPress is owned by WordPress and since our site was built with WordPress, we are trying to figure out what happened to the tens of thousands of VIEWS that use to show up inside your bbPress app, now they have disappeared.

    any help would be appreciated.
    thanks
    HM

    #245481

    Doh! Lawdy me, how stupid can I be? Deepest apologies.

    I do want to retain the private groups, so please forget that side of things.

    It is “Front End PM” that I want to remove, and disabling that has re-introduced the fatal error on the forum pages.

    The debugging reports:

    Fatal error: Uncaught Error: Call to undefined function fep_current_user_can() in /home/signalbo/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(584) : eval()’d code:5 Stack trace: #0 /home/signalbo/public_html/wp-includes/class-wp-hook.php(324): {closure}(”) #1 /home/signalbo/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #2 /home/signalbo/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /home/signalbo/public_html/wp-content/plugins/bbpress/templates/default/bbpress/loop-single-reply.php(56): do_action(‘bbp_theme_after…’) #4 /home/signalbo/public_html/wp-includes/template.php(812): require(‘/home/signalbo/…’) #5 /home/signalbo/public_html/wp-content/plugins/bbpress/includes/core/template-functions.php(103): load_template(‘/home/signalbo/…’, false) #6 /home/signalbo/public_html/wp-content/plugins/bbpress/includes/core/template-functions.php(41): bbp_locate_template(Array, true, false) #7 /home/signalbo/public_html/wp-content/plugins/bbpress/ in /home/signalbo/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(584) : eval()’d code on line 5

    so I understand from that the error lies with the code-snippets plugin although as yet I’m not quite sure where to start on that. I’ll give it some thought but if you have any suggestions they wuld be appreciated.

    John

    #245465

    My forum at https://signalbox.org/the-blower/ is broken after the update to v2.6.14 – I cannot tell if the cause is BBPress itself or one of the various plugins I use.

    The error message can be seen by viewing any post.

    Any help appreciated.

    John

    Robin W
    Moderator

    1. yes, this is the intended behavior
    2. yes, that behavior is set by a function which is called by an action, so we can remove it, and do something else.

    so untested, but this should work

    remove_action( 'bbp_template_redirect', 'bbp_forum_enforce_blocked', 1  );
    
    add_action( 'bbp_template_redirect', 'rew_forum_enforce_blocked', 1  );
    
    function rew_forum_enforce_blocked() {
    
    	// Bail if not logged in or keymaster
    	if ( ! is_user_logged_in() || bbp_is_user_keymaster() ) {
    		return;
    	}
    
    	// Set 404 if in bbPress and user cannot spectate
    	if ( is_bbpress() && ! current_user_can( 'spectate' ) ) {
    		//DON'T DO THE SET 404 ie this is the code that the default bbp_forum_enforce_blocked does
    		//bbp_set_404();
    		// DO SOMETHING ELSE HERE!
    	}
    }

    What the something else is, you will need to decide

    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

    3. I can’t say what the original authors intentions were, but I suspect yes

    jfbprivate
    Participant

    Hi there,

    I’m running a community with bbPress and Paid Memberships Pro. I’ve come across an issue I can’t fully explain or resolve:

    Whenever a user with the bbp_blocked role tries to access bbPress content, they get a 404 page instead of a “you don’t have permission” message or a redirect as expected and set in PMPro.

    These particular users are not suspended but free members without access to the bbPress sections of the site. I understand the bbp_blocked role is meant to restrict forum access, but why does it result in 404s rather than a proper restriction notice?

    My specific questions:

    1. Is it intentional that bbPress shows a 404 for bbp_blocked users?

    2. If so indeed, can this behavior be changed to show an “access denied” message or redirect instead?

    3. Is the bbp_blocked role actually meant only for moderation (bans), and not general access control?

    Since I haven’t been able to find anything like my specific setup, any clarification or guidance is much appreciated before I start remapping roles or overriding behavior.

    Thanks much in advance!

    Hi @hardel 👋

    I’ll take another look at this.

    Is it possible you may have a work-around activated as a plugin that might be interfering, now that bbPress 2.6.14 includes its own fix?

    This is also fixed directly in bbPress 2.6.14

    #245414
    hollandnumerics
    Participant

    1. Yes
    2. Yes
    3. Yes
    4. The HTML in the topic is too large for this forum, and fails to save in a topic AND in a page using Classic Editor

    I now suspect this problem is caused by Classic Editor, and not specifically bbPress

    #245403
    hollandnumerics
    Participant

    I have 1 success to report thanks to your WP_DEBUG suggestion:

    • There were error messages being generated by bbpress Simple View Counts in debug.log, so I deactivated the plugin, and now the critical error messages are no longer seen when viewing topics.

    The saving of updates to large topics containing table tags is still not working.

    Not sure if these are relevant, but I’ve seen these messages about null parameters in functions.php:

    [06-Jul-2025 14:51:35 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/html/wp-includes/functions.php on line 7360
    [06-Jul-2025 14:51:35 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/html/wp-includes/functions.php on line 2195

    Any assistance will be gratefully received, as my PHP knowledge is limited.

    #245384
    hollandnumerics
    Participant

    However, in Troubleshooting Mode, updated topic “test 3” is being shown correctly.

    Active plugins: bbPress and bbp style pack

    #245379

    In reply to: Website Critical Error

    titice
    Participant

    No it is not theme related. Just decided to install BBPress plugin on my website and get same criticall error. Unpublished every plugin, except BBPress and activated default theme 21. Same problem – critical error.Version 2.6.14

    #245376
    hollandnumerics
    Participant

    FYI in issue #1 the post, when viewed, is empty whether the body contains table tags or not:

    test 1:

    <table><tbody><tr><td>hello</td></tr></tbody></table>

    test 2:

    hello

    This is in Troubleshooting Mode with only bbpress and bbp style pack active.

    #245357

    In reply to: Website Critical Error

    Robin W
    Moderator

    Does this occur anytime you try and access the forum page?

    if so, it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    #245355
    watbos
    Participant

    Upon update of bbPress plugin followed by activation, my user forum returns Critical Error. Thank you for any help.

    Website: clubposh.com

    clubposh/forum webpage error

    Hosted at Hostgator
    Wordpress version: 6.8.1
    bbPress 2.6.14
    Theme: OnePress Child (a child version)
    PHP version: 8.3.6

    #245354
    hollandnumerics
    Participant

    Sorry, I will go back to just “bbPress” and “bbp style pack”, which currently shows the body “This topic is empty”.

    However, my original issue with “There has been a critical error on this website.” occurred when the only users that could read this page were in Group5 = VIEWS UK, so maybe we should both add “bbP private groups” too?

    Are you using Troubleshooting Mode to restrict the active plugins like me?

    #245353
    Robin W
    Moderator

    ok, I’m a bit lost as to what your testing is showing.

    The essence of fault finding is taking a setup that works and finding the difference between that and one that doesn’t work.

    so I have a test site working with bbpress and style pack and nothing else. If your site with that same setup doesn’t work, then we can find the difference.

    If it does work, then yes adding back plugins until it fails is a good strategy, but until we are both seeing the same, then it is not doing much good?

    #245352
    Robin W
    Moderator

    ok, so this on my test site with just bbpress and style pack, using admin and keymaster roles publishes fine

    <table>
    <tbody>
    <tr>
    <td>
    hello
    </td>
    </tr>
    </tbody>
    </table>

    do you still get a critical error with this combination, and if so I still need the exact error it produces

    #245350
    hollandnumerics
    Participant

    Sorry, I missed Keymaster for Forum Role.

    Plus extra plugins added, but no change to what is seen when viewing the topic:

    bbPNNS Private Groups Bridge
    bbP private groups
    GD bbPress Tools
    powerSearch for bbPress

    #245349
    Robin W
    Moderator

    so in dashboard>users you will see a column showing the bbpress role

    #245348
    Robin W
    Moderator

    ok, but what about the bbpress role?

    #245345
    hollandnumerics
    Participant

    Wordpress membership levels:

    Free = Subscriber
    Programming = Student
    Recruiter = Employer
    Admin = Administrator
    Educational Games = Customer

    Wordpress roles:

    Subscriber
    Student
    Employer
    Administrator
    Customer
    Keymaster
    Participant
    views_subscriber
    views_student

    bbPress Private Groups:

    Group1 = Registered
    Group2 = Programming
    Group3 = Recruiter
    Group4 = Admin
    Group5 = VIEWS UK
    Group6 = Educational
    Group7 = No messages

    #245344
    Robin W
    Moderator

    what are your wordpress and bbpress user levels?

    eg

    admin and bbp-keymaster
    Subscriber and particiapnt

    etc

    #245341
    hollandnumerics
    Participant
    • I have tried Troubleshooting mode, with no active plugins.
    • Activated bbPress, then bbp style pack.
    • Topic “test 1” now displays, but body shows “This topic is empty”, even though the HTML tags are seen when the topic is edited.

    Do I need to activate more plugins?

    I have the following bbp-related plugins installed:

    bbp-valoration
    Version 0.1.1 by Eric Zeidan | Auto-updates enabled

    bbPNNS Private Groups Bridge
    Version 1.5.1.1 by Vinny Alves (UseStrict Consulting) | Auto-updates disabled

    bbP private groups
    Version 3.9.7 by Robin Wilson | Auto-updates enabled

    bbPress
    Version 2.6.14 by The bbPress Contributors | Auto-updates disabled

    bbPress Move Topics
    Version 1.1.6 by Pascal Casier | Auto-updates enabled

    bbPress Notify (No-Spam)
    Version 2.19.3 by Vinny Alves (UseStrict Consulting) | Auto-updates disabled

    bbpress Simple View Counts
    Version 0.2 by jezza101 | Auto-updates enabled

    bbPress Votes
    Version 1.2.5 by G.Breant | Auto-updates enabled

    bbp style pack
    Version 6.3.9 by Robin Wilson | Auto-updates disabled

    bbp User Ranking
    Version 3.7 by Robin Wilson | Auto-updates enabled

Viewing 25 results - 76 through 100 (of 64,445 total)
Skip to toolbar