• Resolved RenzoGamboa

    (@renzogamboa)


    I have a multisite and when i try to access the Network Admin I get a line of code like this:

    Fatal error: Call to undefined function wp_get_current_user() in /home/chris/public_html/wp-includes/capabilities.php on line 1187

    Apparently it won’t recognize me as user and I’m the only user for now. I haven’t update it to 3.3.2 yet, it won’t let me either. I am also testing some plugins. Does anybody knows what to do? or should i just reinstall the whole thing all over again.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I am also testing some plugins.

    Turn. Off. The. Plugins.

    Seriously. If you know you’re testing them, and you get an error, turn ’em off.

    Turn. Off. The. Plugins.

    Seriously. If you know you’re testing them, and you get an error, turn ’em off.

    How do you turn off plugins? Obviously the WP console. There are a few situations where you cannot turn off or disable plugins through the WP console. I have encountered situations where the WP console is hosed. In such cases I was able to figure out the plugin and had to remove the plugin from the <wp dir>/wp-content/plugins directory.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    https://codex.www.ads-software.com/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F

    Either rename the plugins folder to plugins-old via FTP or do it via the Database.

    Just wanted to mention that doing something like this on a production system that hosts multiple blogs sites would be bad. I do that (rename or move a plugin or entire plugin directory) on test systems or in a situation where all your blogs are inaccessible due to an erroneous plugin.

    Did not know about the database method, good to know. Thanks.

    Thread Starter RenzoGamboa

    (@renzogamboa)

    I renamed my plugin folder through a ftp connection. It worked! I hace access to my Network Admin. An incident like this just happened to me recently on my other site with a Skype plugin, which was giving me a syntax Error, so I manage to remove the one causing the problem. Now, in this case what should I do?

    Thread Starter RenzoGamboa

    (@renzogamboa)

    OK I’m sorry, I changed the name back to plugins in the wp-content directory and that took care of the problem but now I have a message next to my email in the General Settings Panel of wp saying: “The new address will not become active until confirmed” and i have no email in my inbox.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Just wanted to mention that doing something like this on a production system that hosts multiple blogs sites would be bad.

    Well. Yes. But if you’ve shot yourself in the foot testing a plugin on your live site, what do you expect? This is why a lot of us run a local host site to test plugins before we put them live. If your LIVE site is that important, don’t test on it ??

    now I have a message next to my email in the General Settings Panel of wp saying: “The new address will not become active until confirmed” and i have no email in my inbox.

    Did you change the email? If not, don’t worry. It’s saying IF you change the address, THEN…’

    Thread Starter RenzoGamboa

    (@renzogamboa)

    Yes I changed the email because the original mail listed as admin email did not exist anymore, so I basically updated the email. After I did the necessary changes I also look into the database to confirm that it matches the one I entered (new email), but the message still shows that it needs to be confirmed even though I did so.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Can you log in with the ID that uses that email?

    Thread Starter RenzoGamboa

    (@renzogamboa)

    Yes I can login to the network admin and the main site, I guess I misunderstood the message and I was expecting a message saying that the email was confirmed. The plugins were the only problem. Problem solved..thank you very very much and sorry about the confusion.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Just another issue’ is closed to new replies.