Title: PHP Fatal Error on multisite
Last modified: July 1, 2019

---

# PHP Fatal Error on multisite

 *  Resolved [Melissa](https://wordpress.org/support/users/yukino031902/)
 * (@yukino031902)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/php-fatal-error-on-multisite/)
 * I have been using this plugin without issue on my network sites on a multisite
   setup. However, when this plugin is activated on my main site I am unable to 
   access the network admin and also get the following error in my logs:
 * `PHP Fatal error: Uncaught Error: Call to undefined function wp_get_current_user()
   in /nas/content/live/ktagp/wp-includes/capabilities.php:640\nStack trace:\n#0/
   nas/content/live/ktagp/wp-admin/network/settings.php(16): current_user_can('manage_network_...')\
   n#1 /nas/content/live/ktagp/wp-content/plugins/guest-author/index.php(21): require('/
   nas/content/li...')\n#2 /nas/content/live/ktagp/wp-settings.php(362): include_once('/
   nas/content/li...')\n#3 /nas/content/live/ktagp/wp-config.php(140): require_once('/
   nas/content/li...')\n#4 /nas/content/live/ktagp/wp-load.php(37): require_once('/
   nas/content/li...')\n#5 /nas/content/live/ktagp/wp-admin/admin.php(34): require_once('/
   nas/content/li...')\n#6 /nas/content/live/ktagp/wp-admin/network/admin.php(13):
   require_once('/nas/content/li...')\n#7 /nas/content/live/ktagp/wp-admin/network/
   index.php(11): require_once('/nas/content/li...')\n#8 {main}\n thrown in /nas/
   content/live/ktagp/wp-includes/capabilities.php on line 640, referer: https://
   ktagp.wpengine.com/wp-admin/plugins.php`

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [billoosijok](https://wordpress.org/support/users/billoosijok/)
 * (@billoosijok)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/php-fatal-error-on-multisite/#post-11694632)
 * I think this might’ve had to do with the way I require files in the plugin. I
   updated that in version 2.1. Can you test it and see?
 *  Thread Starter [Melissa](https://wordpress.org/support/users/yukino031902/)
 * (@yukino031902)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/php-fatal-error-on-multisite/#post-11696893)
 * The error is gone and network admin is accessible. Thank you very much!
    -  This reply was modified 6 years, 11 months ago by [Melissa](https://wordpress.org/support/users/yukino031902/).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Fatal Error on multisite’ is closed to new replies.

 * ![](https://ps.w.org/guest-author/assets/icon-256x256.png?rev=2301810)
 * [Guest Author](https://wordpress.org/plugins/guest-author/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/guest-author/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/guest-author/)
 * [Active Topics](https://wordpress.org/support/plugin/guest-author/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/guest-author/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/guest-author/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Melissa](https://wordpress.org/support/users/yukino031902/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/php-fatal-error-on-multisite/#post-11696893)
 * Status: resolved