• Hi everyone,

    – i’m not very techie
    – i recently (3 days ago) updated everything that WP wanted me to update. (Yes, I was bad — as I didn’t read what I was updating. But it included updating to 4.1. I remember something asking for FTP login and password as well) After updating, and I logged in, I got this:

    Fatal error: Call to undefined function wp_json_encode() in D:\Hosting\11165278\html\wp-admin\includes\misc.php on line 668

    Now I can’t even see the dashboard. HELP!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator James Huff

    (@macmanx)

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via FTP or SFTP, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    If neither of those make any difference, try downloading WordPress again and delete then replace your copies of everything except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    Thread Starter season888

    (@season888)

    Thank you James!! Let me try that now! ??

    Moderator James Huff

    (@macmanx)

    You’re welcome!

    Thread Starter season888

    (@season888)

    Hi, James, I tried manually resetting my plugins by following this:

    Use phpMyAdmin to deactivate all plugins.

    In the table wp_options, under the option_name column (field) find the active_plugins row
    Change the option_value field to: a:0:{}

    but only this showed up:

    Error establishing a database connection
    This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at att1314702253071.db.11165278.hostedresource.com. This could mean your host’s database server is down.

    Are you sure you have the correct username and password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?
    If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

    oh no?

    Moderator James Huff

    (@macmanx)

    1. Does the database still exist? Do you still see all of the tables in it via phpMyAdmin, including the _options table?

    2. Are the connection values in wp-config.php correct?

    3. If yes to both 1 and 2, contact your hosting provider and ask them why your database server is offline.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘fatal error and can't log in!’ is closed to new replies.