Fatal error: Call to undefined function wp_get_current_user() in /home

Asked by:
RioBeaches / 5 Points
Time:
2014-05-17 7:59 pm EST
Category:
Wordpress
Hits:
40
I have WP Multisite on an addon domain and I installed wp-reviews plugin and activated. Immediately I got this fatal error on my Network Admin and was not able to access it at all:
Fatal error: Call to undefined function wp_get_current_user() in /home/...
So I deactivated one plugin at a time until all plugins on my addon domain and subdomain were deactivated... but it didn't help.
So I uninstalled wp-reviews plugin and that didn't help.
So I tried to delete the subdomain I had just created before installing the plugin (the one I had activated the plugin on) but it would not delete, even after I clicked on the confirmation email link.
So now what?
How do I get my Network Admin for Multisite back?

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

JeffMa
Staff
2,172 Points
2014-05-19 9:31 am EST
The wp_get_current_user() function is a built-in function of WordPress that simply performs an action based on the current user logged in. If this happened after you installed a plugin, it seems that the plugin removed the function that is built into WordPress.

As you removed the plugin, it seems that it caused further issues within the WordPress core files in which you would then want to either remove the entire installation and reinstall, or restore from a backup so that your WordPress core files are restored.

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.