I've been having really hard time debugging an issue in my plugin. I am trying to debug: PHP Fatal Error : Call to undefined function wp_get_current_user()
Firstly, this function is no where directly used in the plugin.
Secondly, the other versions of this function like: current_user_can and current_user_id are all attached to hooks, like bp_include, init, bp_init
Thirdly, the error is only seen when accessing the Network admin.
Any help in this regard would be appreciated.