BB Press 插件 WordPress 错误

BB Press plugin WordPress error

我已经使用 WordPress 中的 BB press 插件创建了一个论坛。我已经能够列出论坛主题,但是当我单击论坛主题时,出现以下错误:

Fatal error: Uncaught Error: [] operator not supported for strings in C:\xampp\htdocs\wordpress\wp-content\plugins\bbpress\includes\forums\functions.php:1800 Stack trace: #0 C:\xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(298): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query)) #1 C:\xampp\htdocs\wordpress\wp-includes\class-wp-hook.php(323): WP_Hook->apply_filters('', Array) #2 C:\xampp\htdocs\wordpress\wp-includes\plugin.php(515): WP_Hook->do_action(Array) #3 C:\xampp\htdocs\wordpress\wp-includes\class-wp-query.php(1681): do_action_ref_array('pre_get_posts', Array) #4 C:\xampp\htdocs\wordpress\wp-includes\class-wp-query.php(3238): WP_Query->get_posts() #5 C:\xampp\htdocs\wordpress\wp-includes\class-wp.php(617): WP_Query->query(Array) #6 C:\xampp\htdocs\wordpress\wp-includes\class-wp.php(735): WP->query_posts() #7 C:\xampp\htdocs\wordpress\wp-includes\functions.php(955): WP->main('') #8 C:\xampp\htdocs\wordpress\wp-blog-header.php(16): wp() #9 C:\xampp\htdocs\wordpress\index.php(17): require('C:\xampp in C:\xampp\htdocs\wordpress\wp-content\plugins\bbpress\includes\forums\functions.php on line 1800

我无法找出根本原因。请推荐

原因是与 PHP7.1 不兼容,如果您恢复到 PHP7.0 它将起作用... 有一个 bbPress 测试版可以解决这些问题,但现在恢复到 PHP7.0 将是更稳定的解决方案。