Support Forum

Activating BuddyPress Integration plugin causes wp-admin not to load

AV Anders Bøggild-Volfbrandt
Anders Bøggild-Volfbrandt
Member

After I activate the plugin for BuddyPress integration I cannot access wp-admin anymore. I get no error message but the page never finish loading.

I have narrowed it down to that it is the following line of code that is causing the problem for me:

sp-buddypress-plugin.php (61):

if ($bpdata[‘avatar’] == 3) add_filter(‘bp_core_fetch_avatar’,  ‘sp_buddypress_sp_avatar’, 10, 2);

 

If I comment out this line everything is working again. I am not sure what this line is for or why it is causing this behavior but I would like to know what the problem is and if I can continue without this line of code.

2 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Steve – our BuddyPress ‘expert’ is not available at the moment and I think I probably need him to dive in to this. But is things work without this line of code then I would say it is safe to leave it commented out until Steve identifies with you what the cause is. Clearly something to do with Avatar set-up.

MP Mr Papa
Mr Papa
Member

I have no idea either… anything in your error log??  its working for many users as is….  you have latest BP version and latest SP BP integration plugin?

what is your option for bp avatars in the sp options?    is this first install?  the default option for the avatars is 3…  its possible that BP has deprecated that function (they have most functions that have core in the name), but it should still work…  it will just issue a notice about deprecation…  could your system be taking that BP notice and choking on it?