Skip to:
Content
Pages
Categories
Search
Top
Bottom

Fatal error: Uncaught Error:


  • nilsm1990
    Participant

    @nilsm1990

    Hello,

    i jsut got into WordPress and wanted to use bbPress.
    So I installed bbPress and it lets me change my Preferences under Preferences–> Forum.
    I also can create new Forums and they show up in my bbPress Widgeds.

    However everytime i open the Forum Page an Error occurs. (I copyed the entire Errormessage below).
    I use WordPress on my xampp Server (localy) for testing.

    Also i deactivated all other plugins and changed my theme to wordpress-standard. No Luck though. Im using shapely Theme

    If anyone could help it would be highly aprichiated.

    Fatal error: Uncaught Error: [] operator not supported for strings in C:\xampp\apps\wordpress\htdocs\wp-content\plugins\bbpress\includes\forums\functions.php:1800 Stack trace: #0 C:\xampp\apps\wordpress\htdocs\wp-includes\class-wp-hook.php(298): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query)) #1 C:\xampp\apps\wordpress\htdocs\wp-includes\class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #2 C:\xampp\apps\wordpress\htdocs\wp-includes\plugin.php(515): WP_Hook->do_action(Array) #3 C:\xampp\apps\wordpress\htdocs\wp-includes\class-wp-query.php(1683): do_action_ref_array(‘pre_get_posts’, Array) #4 C:\xampp\apps\wordpress\htdocs\wp-includes\class-wp-query.php(3248): WP_Query->get_posts() #5 C:\xampp\apps\wordpress\htdocs\wp-includes\class-wp.php(617): WP_Query->query(Array) #6 C:\xampp\apps\wordpress\htdocs\wp-includes\class-wp.php(735): WP->query_posts() #7 C:\xampp\apps\wordpress\htdocs\wp-includes\functions.php(955): WP->main(Array) #8 C:\xampp\apps\wordpress\htdocs\wp-admin\includes\post.php(1072): wp(A in C:\xampp\apps\wordpress\htdocs\wp-content\plugins\bbpress\includes\forums\functions.php on line 1800

Viewing 1 replies (of 1 total)

  • nobita
    Participant

    @nobita

    Hi I have same error

    PHP7.1
    bbpress2.5.13

    bbpress/includes/forum/functions.php line:1800

    PHP Fatal error: Uncaught Error: [] operator not supported for strings

    			//$post_stati[] = bbp_get_public_status_id();
    			$post_stati = (array) bbp_get_public_status_id();
    

    It worked for me

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