opencredit / badgeos

BadgeOS is a plugin to WordPress that allows you to easily create badges and set up the steps and achievements users take to earn them. Badges are Mozilla OBI compatible and sharable via Credly.
http://www.badgeos.org
GNU Affero General Public License v3.0
93 stars 64 forks source link

Got some fatal error for badgeos-community-add-on #622

Open wayyeh opened 6 years ago

wayyeh commented 6 years ago

Steps to Reproduce

  1. install badgeos and community addon

Actual result:

Fatal error: Uncaught Error: [] operator not supported for strings in /Applications/AMPPS/www/gauge/wp-content/plugins/badgeos-community-add-on/includes/bp-members.php:222 Stack trace: #0 /Applications/AMPPS/www/gauge/wp-includes/class-wp-hook.php(286): BadgeOS_Community_Members->setup_nav(Array) #1 /Applications/AMPPS/www/gauge/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /Applications/AMPPS/www/gauge/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /Applications/AMPPS/www/gauge/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php(123): do_action('bp_setup_nav') #4 /Applications/AMPPS/www/gauge/wp-includes/class-wp-hook.php(286): bp_setup_nav('') #5 /Applications/AMPPS/www/gauge/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #6 /Applications/AMPPS/www/gauge/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #7 /Applications/AMPPS/www/gauge/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php(235): do_action('bp_init') #8 /Applications/AMP in /Applications/AMPPS/www/gauge/wp-content/plugins/badgeos-community-add-on/includes/bp-members.php on line 222

Expected result:

Product Versions

Additional Information

N/A

RocketDesigner commented 6 years ago

same here

PJSANTA commented 5 years ago

Same problem as well. Everything is fine on PHP 5.2 but when i try and test my site under PHP 7.2 I get the same error as above.

Is anyone still looking at these forums, it doesnt look like theres been any activity for quite a while?