I’ve looked at this file and the copy I’ve got does not redeclare bp_groups_group_access_protection on line 85 so I’m thinking that something may have got corrupt during your upgrade. I think in the first instance I’d try uninstalling BP and reinstalling it to see if you can fix the error that way.
I already do this and no changes…
I also compare my BP files to https://plugins.svn.wordpress.org/buddypress/tags
exactly the same
Did you get a chance to inspect your copy of access.php to see if the function is redclared on line 85?
Sorry to not understand your question …
my file htdocs/wp-content/plugins/buddypress/bp-groups/actions/access.php is exactly the same as in the distrib and line 85 is
“}”
just before the
add_action( 'bp_actions', 'bp_groups_group_access_protection' );
if i do in all my site a:
grep -R "bp_groups_group_access_protection" *
give me only :
wp-content/plugins/buddypress/bp-groups/actions/access.php:function bp_groups_group_access_protection() {
wp-content/plugins/buddypress/bp-groups/actions/access.php:add_action( 'bp_actions', 'bp_groups_group_access_protection' );
wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php: * Filter the access check in bp_groups_group_access_protection() for this extension.
Yes so for some reason your particular install is seeing this function as being declared twice, yet that second reported line of code does not exist in the actual code.
I know you think this has been caused by the upgrade to 3.1, which may prove to be the case, however I think we need to try and rule out other potential causes. Have you tried deactivating your other plugins to see if BP 3.1 works on it’s own?
YES !
Paid Membership Pro Customizations Add on seems responsible
I will investigate
Thanks a lot for this idea
Best regards