Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 1 through 25 (of 64,401 total)
  • Author
    Search Results
  • #245652
    ploptime
    Participant

    thank you ! gd-bbpress-attachments 4.8 works (not 4.9)

    #245651
    ploptime
    Participant

    but updating gd-bbpress-attachments broke the website I had to remove it.

    #245649
    Robin W
    Moderator

    Every website is a unique combination of hoster, operating and hosting systems (eg apache, PHp) WordPress theme, plugins, settings and content, so I cannot just give you an answer.

    So between ‘some time ago’ (days? weeks? years?) and now – what has changed on your site?

    If you cannot answer that, then I can only suggest the core fault finding viz..

    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

    #245643
    ploptime
    Participant

    Nothing for the time beeing, but i m using BBPress 2.6.11, is there a known issue?

    hardel
    Participant

    Hi John, I never applied the fix recommended in that ticket. I am aware of another site experiencing the same issue as mine. “View Page Source” confirms they’re running BBPress 2.6.14 alongside BuddyPress 14.3.4. Because of this, I don’t believe this issue is exclusive to my site.

    As it’s not my site, I don’t feel comfortable sharing the link publicly. However, I’ve sent a PM to your Instagram account with the link, along with a screen recording showing the 404 error, since their site requires a (free) membership to view forum replies.

    #245617
    Mike Witt
    Participant

    I just updated to bbPress 2.6.14 and I notice that dragoeco’s fix was not included in that (although that loader.php file was updated to fix the object creation problem for php 8.2). What’s the best way to … increase the odds of getting that done next time? I guess the person I’m asking this question is @johnjamesjacoby.

    @hardel The fixes that were recommended in the ticket you linked to are pretty-much identical to what is now in 2.6.14.

    If that worked for you then, 2.6.14 should work now, but only as long as you aren’t still running the old temporary fix code at the same time.

    (I’ve tested a few different ways & installs, and the latest BuddyPress & bbPress are working together as intended for me.)

    The URLs being generated are different from what I originally posted four years ago.

    They both still look the same to my eyes, but I will believe you 🤣

    #245545
    iltaja
    Blocked

    Likely a post order or metadata issue from the import. bbPress relies on accurate data to place posts on the right pages. Built-in repair tools often miss this. Your split/merge method suggests the problem is in the original post structure.

    #245542
    Robin W
    Moderator

    do you still have the original Mingle forum?

    If so, can you check that all the entries around this one have transferred to bbpress ie they have the same number of replies and are in the same order on page 7/8

    #245539
    Robin W
    Moderator

    ok, some late night thinking….

    bbpress just uses the WordPress function that finds and shows posts (bbpress forums, topics and replies are just posts with a custom post type!).

    So I’m thinking that the ‘find matches’ wordpress part is finding x number of replies, but then the ‘display part’ is finding one less/more to display, then at that point the page count gets to be wrong.

    This is just a guess at the moment, but as you are seeing issues with other topics that are not all ‘page 8’ I don’t think it is a pure maths issue.

    So my current hypothesis is that there is an item that is in the database as a match, but there is not a corresponding item to display – this could be for lots of reasons.

    If you go to your link but page 7, from the post numbered 120998 with text ‘AnTiHrIsTiS — Kingpin: Life of Crime (PC)’ this entry on page 7 has a link of

    /steam-records/page/8#120998

    If my thinking is correct (and it is probably wrong!) I’d guess it is at this point that the permalinks start to go wrong.

    So if you change the replies per page from 14 to 13, does it still start to go wrong from that same post number, or does it start to go wrong from another post number.

    This will help us narrow down what the issue might be.

    #245527
    qiwichupa
    Participant

    Thanks for trying to help! I followed your advice, but unfortunately none of the above helped. Despite a different theme and disabling plugins the page is generated similarly. Changing and saving permalink settings didn’t lead to any result either (from what I understand, bbpress uses hardcoded settings to generate links).

    Maybe there’s some way to recreate a topic from scratch by copying post by post from the old one into it? So that the bbpress engine is fully responsible for the process (still think the problem might be a result of incorrect import from Mingle). Doing it manually is too time consuming =\

    #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.

Viewing 25 results - 1 through 25 (of 64,401 total)
Skip to toolbar