Multisite Fatal error (2 posts)

  1. wackao
    Posted 1 year ago #

    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.

  2. wackao
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic