ihave the same problem what can i do ?
Fatal error: Uncaught Error: [] operator not supported for strings in C:\xampp\htdocs\wp-content\plugins\bbpress\includes\forums\functions.php:1800 Stack trace: #0 C:\xampp\htdocs\wp-includes\class-wp-hook.php(298): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query)) #1 C:\xampp\htdocs\wp-includes\class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #2 C:\xampp\htdocs\wp-includes\plugin.php(515): WP_Hook->do_action(Array) #3 C:\xampp\htdocs\wp-includes\class-wp-query.php(1681): do_action_ref_array(‘pre_get_posts’, Array) #4 C:\xampp\htdocs\wp-includes\class-wp-query.php(3238): WP_Query->get_posts() #5 C:\xampp\htdocs\wp-includes\class-wp.php(617): WP_Query->query(Array) #6 C:\xampp\htdocs\wp-includes\class-wp.php(735): WP->query_posts() #7 C:\xampp\htdocs\wp-includes\functions.php(955): WP->main(Array) #8 C:\xampp\htdocs\wp-admin\includes\post.php(1072): wp(Array) #9 C:\xampp\htdocs\wp-admin\includes\class-wp-posts-list-table.php(142): wp_edit_posts_query() #10 C:\xampp\htdocs\wp-admin\edit.php(180): WP_Po in C:\xampp\htdocs\wp-content\plugins\bbpress\includes\forums\functions.php on line 1800
@cvince99 and @bjoernschiffer
Please provide your WP version, bbPress version and other info e.g. :
WP version 4.7.3
bbPress version 2.6-beta-6251
Theme Twenty Seventeen 1.1
And if you can get to this :
PHP version 5.6.28
DB info DB charset: utf8 / DB collation: utf8_general_ci
Thanks.
One extra info : If you are running PHP 7.x and you have 2.6 alpha, please install 2.6 beta 2 from https://bbpress.org/download/ and let me know if it’s fixed.
Yes its work i have only change the bbPres version on bbPress version 2.6-beta-6251
thank you !!!
Great ! Thanks for the reply.
I’m having the exact same problem as above, but no idea how to fix the problem, since I already have installed the latest version of bbpress. Here is my error message:
Fatal error: Uncaught Error: [] operator not supported for strings in /home/sahbar5/public_html/wp-content/plugins/bbpress/includes/forums/functions.php:1800 Stack trace: #0 /home/sahbar5/public_html/wp-includes/class-wp-hook.php(298): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query)) #1 /home/sahbar5/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #2 /home/sahbar5/public_html/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #3 /home/sahbar5/public_html/wp-includes/class-wp-query.php(1681): do_action_ref_array(‘pre_get_posts’, Array) #4 /home/sahbar5/public_html/wp-includes/class-wp-query.php(3238): WP_Query->get_posts() #5 /home/sahbar5/public_html/wp-includes/class-wp.php(617): WP_Query->query(Array) #6 /home/sahbar5/public_html/wp-includes/class-wp.php(735): WP->query_posts() #7 /home/sahbar5/public_html/wp-includes/functions.php(955): WP->main(Array) #8 /home/sahbar5/public_html/wp-admin/includes/post.php(1072): wp(Array) #9 /home/sahbar5/public_html/wp-admin/includ in /home/sahbar5/public_html/wp-content/plugins/bbpress/includes/forums/functions.php on line 1800
What can I do?? Thanks for your help!
I’m really sorry. Problem solved. The bbPress version 2.6-beta-6251 is magic!
Thanks!
Worked fine, thank you very much!
Still one Question, I kind of commented the previous www/wp-content/plugins/bbPress directory changing its name instead of erasing it, just in case, is that necessary? Or will the beta-2 version be updated normally when the new fixed version comes out?
@suparixi No need, each version you have installed will show an update is available when bbPress 2.6 is released