Skip to:
Content
Pages
Categories
Search
Top
Bottom

after emigating host get error

  • @sagiet

    Participant

    Fatal error: Uncaught Error: [] operator not supported for strings in /customers/c/b/5/weeting.net/httpd.www/wp-content/plugins/bbpress/includes/forums/functions.php:1800 Stack trace: #0 /customers/c/b/5/weeting.net/httpd.www/wp-includes/class-wp-hook.php(298): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query)) #1 /customers/c/b/5/weeting.net/httpd.www/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #2 /customers/c/b/5/weeting.net/httpd.www/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #3 /customers/c/b/5/weeting.net/httpd.www/wp-includes/class-wp-query.php(1681): do_action_ref_array(‘pre_get_posts’, Array) #4 /customers/c/b/5/weeting.net/httpd.www/wp-includes/class-wp-query.php(3238): WP_Query->get_posts() #5 /customers/c/b/5/weeting.net/httpd.www/wp-includes/class-wp.php(617): WP_Query->query(Array) #6 /customers/c/b/5/weeting.net/httpd.www/wp-includes/class-wp.php(735): WP->query_posts() #7 /customers/c/b/5/weeting.net/httpd.www/wp-includes/functions.php(955): WP->main(”) #8 in /customers/c/b/5/weeting.net/httpd.www/wp-content/plugins/bbpress/includes/forums/functions.php on line 1800

    plz what to do .
    tnx

Viewing 5 replies - 1 through 5 (of 5 total)
  • @robin-w

    Moderator

    Suspect you are using php 7.1

    3 fixes
    1. downgrade to a lesser version of php
    2. upgrade to bbpress 2.6 RC
    3. in bbpress 2.5.12 go to /includes/forums/functions.php and change line 1851 from
    $meta_query = $posts_query->get( ‘meta_query’ );
    to
    $meta_query = $posts_query->get( ‘meta_query’, array() );
    Since the next upgrade will fix that anyway, no issue in changing the bbpress file
    best I can offer I’m afraid

    @sagiet

    Participant

    tnx.. its working now 🙂

    @robin-w

    Moderator

    great – glad you are fixed !

    @netweb

    Keymaster

    Apologies @sagiet and thanks @robin-w, we’ll be releasing bbPress 2.5.13 with a fix for this PHP errors shortly

    @robin-w

    Moderator

    Great !!

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