-
AuthorPosts
-
October 21, 2015 at 12:53 pm #634432
I have a multi site Bitnami setup on Amazon AWS. Both of my sites are working perfectly and for a while I was able to access network admin. However, something has gone wrong and now I cannot access network admin. I can access the wp-admin for both sites with no issues. I am using the Theme X platform. I have looked at several posts which suggest disabling all plugins. I also turned on the debug mode to find the error and try and search for solutions with no luck.
The error is as follows:
Fatal error: Call to undefined function wp_get_current_user() in /opt/bitnami/apps/wordpress/htdocs/wp-includes/capabilities.php on line 1441
I will appreciate some support. This is a production platform and one of the sites is live with your theme Renew. The reason I am posting this issue here as well is because some of the users at wordpress.org forum suggest that it could be related to a theme.
Thanks
October 21, 2015 at 1:01 pm #634445Hi there,
Thanks for writing in! You can activate a default theme like “Twenty Fifteen” and see if the issue persist or not. If the issue still persist then it’s not related with X we couldn’t assist on this.
If you find this issue only with X then would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
October 21, 2015 at 1:10 pm #634453This reply has been marked as private.October 21, 2015 at 1:22 pm #634481Hi there,
Thanks for updating. You need to activate a default theme to check the issue and you should at least keep a default theme on your site so that you can switch to this if any error occurred. However you can download the theme from here – https://wordpress.org/themes/twentysixteen/
Let’s upload it from FTP or File Manager. You can delete the folder x from wp-content/themes so that it can switch to this default theme.
Let us know how it goes as we couldn’t assist on this without FTP access.
Cheers!
October 21, 2015 at 4:24 pm #634715This reply has been marked as private.October 21, 2015 at 5:51 pm #634823Hi there,
In that case, you musn’t delete it. I’m not really sure if we can really help because this issue is not really related to X theme.
wp_get_current_user() is called at file wp-includes/capabilities.php which is outside the theme. It throws error even before the theme initialization.
The first step should be finding why wp_get_current_user() is undefined, it should be available at wp-includes/pluggable.php. But since it’s a problem getting FTP login, then I can’t confirm any of this.
Please make sure that your wordpress core is updated, and you don’t have any caching installed (eg. object caching).
Thanks!
-
AuthorPosts