Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum just won’t show up


  • debodeq
    Participant

    @debodeq

    Having the problem that my Forum just isn’t showing up. It’s there in the meno on the admin, alongside everything else. But when I click on it, I just get the grey Chrome page saying “this page won’t load” or “work” or whatever, alongside “HTTP ERROR 500”. No idea what this is, starting to get annoyed. Everything is set up as it should be, but the forum won’t load. When I click on my homepage on the middle “Forums” button: Same story. Just a Chrome error screen, not even a 404 page.

    What am I doing wrong?

    example from wordpress admin
    example from site homepage

Viewing 11 replies - 1 through 11 (of 11 total)
  • What happens if you disable all the other plugins?

    What about switching your theme to Twenty Fifteen?

    (If it works with your other plugins disabled start re-activating each plugin until it fails again, then you’ll have found the plugin causing the conflict)


    debodeq
    Participant

    @debodeq

    Thanks for the reply!
    Sadly: I have disabled all the plugins and it still doesn’t work. Changing themes also didn’t help. Still getting the same error. (also checked in different browsers).


    debodeq
    Participant

    @debodeq

    This still hasn’t been resolved. Can’t imagine no one has a solution for this … ?


    casamia743
    Participant

    @casamia743

    I have same problem. Here is my error log

    [06-Jan-2017 10:47:16 UTC] PHP Fatal error:  Uncaught Error: [] operator not supported for strings in /Applications/MAMP/htdocs/wordpress/wp-content/plugins/bbpress/includes/forums/functions.php:1800
    Stack trace:
    #0 /Applications/MAMP/htdocs/wordpress/wp-includes/class-wp-hook.php(298): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query))
    #1 /Applications/MAMP/htdocs/wordpress/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array)
    #2 /Applications/MAMP/htdocs/wordpress/wp-includes/plugin.php(515): WP_Hook->do_action(Array)
    #3 /Applications/MAMP/htdocs/wordpress/wp-includes/class-wp-query.php(1681): do_action_ref_array('pre_get_posts', Array)
    #4 /Applications/MAMP/htdocs/wordpress/wp-includes/class-wp-query.php(3238): WP_Query->get_posts()
    #5 /Applications/MAMP/htdocs/wordpress/wp-includes/class-wp.php(617): WP_Query->query(Array)
    #6 /Applications/MAMP/htdocs/wordpress/wp-includes/class-wp.php(735): WP->query_posts()
    #7 /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php(955): WP->main(Array)
    #8 /Applications/MAMP/htdoc in /Applications/MAMP/htdocs/wordpress/wp-content/plugins/bbpress/includes/forums/functions.php on line 1800

    hodoze
    Participant

    @hodoze

    I have the same error


    Jacob_26
    Participant

    @jacoblindner

    I’m having the same problem… Anyone figured out how to solve it?


    mattdevelop
    Participant

    @mattdevelop

    Same error here, this happens because of this code

    $post_stati = $posts_query->get( 'post_status' );
    
    		// Default to public status
    		if ( empty( $post_stati ) ) {
    			$post_stati[] = bbp_get_public_status_id();
    

    in \includes\forums\functions.php on line 1800


    AiratVibe
    Participant

    @airathalitov

    I have the same problem.

    I can’t open page https://airat.biz/forums/ and https://airat.biz/wp-admin/edit.php?post_type=forum
    Error 500

    I saved Permalinks, reinstalled plugin, but pages still don’t working.

    bbPress tools also don’t help
    /wp-admin/tools.php?page=bbp-repair

    Error log:

    [Thu Mar 02 20:33:57.235075 2017] [php7:error] [pid 16265] [client ip] PHP Fatal error: Uncaught Error: [] operator not supported for strings in /site_path/wp-content/plugins/bbpress/includes/forums/functions.php:1800\nStack trace:\n#0 /site_path/wp-includes/class-wp-hook.php(298): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query))\n#1 /site_path/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)\n#2 /site_path/wp-includes/plugin.php(515): WP_Hook->do_action(Array)\n#3 /site_path/wp-includes/class-wp-query.php(1681): do_action_ref_array('pre_get_posts', Array)\n#4 /site_path/wp-includes/class-wp-query.php(3238): WP_Query->get_posts()\n#5 /site_path/wp-includes/class-wp.php(617): WP_Query->query(Array)\n#6 /site_path/wp-includes/class-wp.php(735): WP->query_posts()\n#7 /site_path/wp-includes/functions.php(955): WP->main('')\n#8 /home/a in /site_path/wp-content/plugins/bbpress/includes/forums/functions.php on line 1800

    bbPress 2.5.12
    BuddyPress 2.8.1
    WordPress 4.7.2
    PHP 7.1.2-3+deb.sury.org~xenial+1


    AiratVibe
    Participant

    @airathalitov

    I can open https://airat.biz/forums/ after delete [] in /plugins/bbpress/includes/forums/functions.php on lines 1800, 1818, 1832

    Old: $post_stati[]
    New: $post_stati

    And line 1854:
    Old: $meta_query[]
    New: $meta_query

    Can you check it out?

    I think this issue with php7 support

    Now i have a warning:
    [Thu Mar 02 20:46:15.572617 2017] [php7:warn] [pid 23849] [client ip] PHP Warning: array_unique() expects parameter 1 to be array, null given in /site_path/wp-content/plugins/bbpress/includes/forums/functions.php on line 1836

    @airathalitov, as you’re running PHP 7.1 you’ll need to use bbPress 2.6, 2.6 beta-2 is available now, and beta-3 will be released in the next 24 hours, you can grab the download links from this post:

    bbPress 2.6 Beta 2


    AiratVibe
    Participant

    @airathalitov

    @netweb thanks!
    bbPress 2.6 Beta 2 is working good.

    When will bbPress 2.6 be released?

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