Ok, I deactivated the buddypress plugin “BP Group documents” 1.3
And the message is gone.
I will try to fix that 😐
If you experienced the same problem, I would be happy to know 🙂
Alain
I did contact the author of group documents about that issue and they tell me they contacted you too, if we can manage to resolve, that would be great, because Frisco is a very nice starting theme for BP !
@aboudard, hi.
Can you try the 1.4 version of “BP Group documents” and let me know if it is fixed?
Bests
Lena
Right away !
Totally awesome, you did fix !
Could you tell me where the problem was ?
I am interessed in the code somehow, and I’d like to understand which part of the plugin could crash the dashboard that way.
Thank you a million for the fast intervention !
That kind of support surely means donation for the plugin 🙂
Alain
Thanks for your kind words.
It was the part where the plugin was init.
Previous in was on bp_include action hook and produced the error you described.
If in bp_loaded without priority it also produced the same error.
If in bp_init it was to late to load the necessery files.
After a search I found in /buddypress/bp-core/bp-core-actions.php the priority order of bp_actions. The plugin just needed to load after the bp_register_theme_directory action.
This is now the case, I set the initiallation of BP Group Documents in
bp_loaded action hook with high priority number (this means it is loaded after the bp_register_theme_directory).
Hopefully it is not to high and gets broken by other plugins 🙂
Bests Lena
I will not fail to report any kind of problem like that 🙂
Thank you for the detailed explaination, I see the code you refer to.
Cheers !
I am getting the same message but I don’t have that plugin installed. Is there another reason this error message would show up?