• 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.

Viewing 1 replies (of 1 total)
  • Thread Starter wackao

    (@wackao)

    NVM, managed to fix it. I renamed a file from settings.php to something else and it all worked. Weird but it worked ??

Viewing 1 replies (of 1 total)
  • The topic ‘Multisite Fatal error’ is closed to new replies.