• This is a PHP error that occurs with PHP Version 7.1.7 and 7.1.8. However, PHP 7.0 is unaffected.

    Figured you may want to know so this can get fixed before an increasing amount of people become affected. There’s a few other plugins I work on that had the same issue, and the fix is really simple…depending on how far you want to dig.

    ( ! ) Fatal error: Uncaught Error: [] operator not supported for strings in C:\wamp64\www\NCWA\wp-content\plugins\badgeos-community-add-on\includes\bp-members.php on line 222
    ( ! ) Error: [] operator not supported for strings in C:\wamp64\www\NCWA\wp-content\plugins\badgeos-community-add-on\includes\bp-members.php on line 222
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0000	375808	{main}( )	...\index.php:0
    2	0.0010	377824	require( 'C:\wamp64\www\NCWA\wp-blog-header.php' )	...\index.php:17
    3	0.0010	393256	require_once( 'C:\wamp64\www\NCWA\wp-load.php' )	...\wp-blog-header.php:13
    4	0.0010	405944	require_once( 'C:\wamp64\www\NCWA\wp-config.php' )	...\wp-load.php:37
    5	0.0020	507736	require_once( 'C:\wamp64\www\NCWA\wp-settings.php' )	...\wp-config.php:94
    6	1.1821	99940392	do_action( )	...\wp-settings.php:448
    7	1.1821	99940768	WP_Hook->do_action( )	...\plugin.php:453
    8	1.1821	99940768	WP_Hook->apply_filters( )	...\class-wp-hook.php:323
    9	1.4311	107496624	bp_init( )	...\class-wp-hook.php:298
    10	1.4311	107496624	do_action( )	...\bp-core-dependency.php:235
    11	1.4311	107497000	WP_Hook->do_action( )	...\plugin.php:453
    12	1.4311	107497000	WP_Hook->apply_filters( )	...\class-wp-hook.php:323
    13	1.4471	107660920	bp_setup_nav( )	...\class-wp-hook.php:298
    14	1.4471	107660920	do_action( )	...\bp-core-dependency.php:123
    15	1.4471	107661296	WP_Hook->do_action( )	...\plugin.php:453
    16	1.4471	107661296	WP_Hook->apply_filters( )	...\class-wp-hook.php:323
    17	1.4611	107705528	BadgeOS_Community_Members->setup_nav( )	...\class-wp-hook.php:298
Viewing 5 replies - 1 through 5 (of 5 total)
  • Adeel

    (@adeelraza_786hotmailcom)

    We have fixed this issue in the version 1.2.4, kindly update to the latest version and test this again.
    Thanks

    Thread Starter EkoJR

    (@ekojr)

    I would if I could. I was helping out with a project at the time.

    I didn’t get any kind of response, so I thought it was a lost cause, but it was a common PHP v7.1 error that I’ve been experiencing with other plugins I’ve worked on. Sometimes a broken response is still considered a good response in this case.

    Thank you for notifying me though, and furthering development. The plugin initially was chosen as a prime candidate, and likely will again after seeing the response. Thank you 🙂

    Adeel

    (@adeelraza_786hotmailcom)

    We at WooNinjas are working hard to restore its earlier position and remove the bugs. The co-operation from the WP community would surely help us a lot.
    Thank you 🙂

    • This reply was modified 6 years, 6 months ago by Adeel.
    Thread Starter EkoJR

    (@ekojr)

    Oh, I hear ya there. Ideally, it is preferred, but I at least wanted post a report for someone that would be more knowledgeable of the situation. Eventually, WP community tends to take root, and the dev perspective with the community was actually a major choosing factor. So, on that note, thank you 🙂

    Plugin Contributor Wooninjas

    (@wooninjas)

    Hello all,

    This is to do a correction of a comment added by Adeel.
    https://wordpress.org/support/topic/php-7-1-8-fatal-error-uncaught-error-operator-not-supported-for-strings/#post-9553858

    Plugin’s compatibility with PHP 7.1 has been added in version 1.4.9 not 1.2.4

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP 7.1.8 Fatal Error: Uncaught Error: [] operator not supported for strings’ is closed to new replies.