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
- The topic ‘PHP Fatal Error on multisite’ is closed to new replies.