“fatal error” in group creation
-
When attempting Group Creation, I get the following error:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function badgeos_add_schools_to_group(), 1 passed in /{…}/edgeubadges.com/wp-includes/class-wp-hook.php on line 289 and exactly 3 expected in /{…}/edgeubadges.com/wp-content/plugins/badgeos-group-management-add-on/includes/badgeos-group-management-functions.php:102 Stack trace: #0 /{…}/edgeubadges.com/wp-includes/class-wp-hook.php(289): badgeos_add_schools_to_group(19) #1 /{…}/edgeubadges.com/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array) #2 /{…}/edgeubadges.com/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /{…}/edgeubadges.com/wp-content/plugins/buddypress/bp-groups/bp-groups-functions.php(194): do_action(‘groups_create_g…’, 19, Object(BP_Groups_Member), Object(BP_Groups_Group)) #4 /{…}/edgeubadges.com/wp-content/plugins/buddypress/bp-groups/actions/create.php(85): groups in /{…}/edgeubadges.com/wp-content/plugins/badgeos-group-management-add-on/includes/badgeos-group-management-functions.php on line 102
There has been a critical error on your website.—–
—————————Looking at the code, the line it tells me has a function that wants three arguments passed to it: $group_id, $member, and $group. We were previously able to create groups, but have not been able to since moving to a different web server.
Any ideas on what is causing this problem? Is there a server setting, or a WP/BOP setting that I have missed?
WP version: 5.4.1
BP version: 5.1.2 (same problem happened with 5.2.0 on test site)
Site: https://www.edgeubadges.com
- You must be logged in to reply to this topic.