Skip to:
Content
Pages
Categories
Search
Top
Bottom

Blank screen w/ error message

  • @ewiedenhoff

    Participant

    Hi,
    I browsed through your forum to find out if there was a solution to my problem but didn’t find any suitable answer.

    My website for the forum-section is : http://cdf-lardy.fr/forums which results in a blank screen. In the back-office, i can simply create new forums but cannot access the “forums” or “All forums”-view, giving the same blank screen.

    Version :
    WP : 4.7.4
    bbPress : 2.5.2
    PHP version is 7.1

    All other plugins are updated, i tried to disable them all, no changes.

    I enabled debug function and got following message :

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

    Does anyone have a clue ?

    Many thanks in advance
    Edeezine

Viewing 6 replies - 1 through 6 (of 6 total)
  • @ewiedenhoff

    Participant

    Oh, I forgot, I use a theme called “Sydney”, i tried to disable it switching to TwentySeventeen, -sixteen, -fifteen…..problem remains the same, error-message as well.

    @robin-w

    Moderator

    seems php 7.1 has issues with a lot of plugins, 2 mentioned here

    https://wordpress.org/support/topic/php-7-0-14-to-7-1-1-operator-not-supported-for-strings/

    and a bbpress trac ticket

    https://bbpress.trac.wordpress.org/ticket/2987

    I’m running php 7.0.17 with no issues

    @robin-w

    Moderator

    oh, and I presume you mean you are running bbpress 2.5.12 not 2.5.2

    @robin-w

    Moderator

    seems like that will be fixed in bbpress 2.6

    so 3 fixes

    1. downgrade to a lesser version of php
    2. upgrade to bbpress 2.6beta-2
    3. in bbpress 2.5.12 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

    @ewiedenhoff

    Participant

    Many thanks Robin W for your numerous hints & solutions, reverted to PHP version 7.0 and it works like a charm.

    Thanks again,
    Regards,

    @robin-w

    Moderator

    Great – glad you’re fixed

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