Support » Fixing WordPress » No access to admin after theme update

  • I have updated the theme this morning, and since the admin page is not accessible. I need to know if I can fix this without removing the actual theme from the FTP. I can’t have the site showing the wrong theme, even for few minutes.

    I already clean extra space at the end of function.php and wp-config.php has suggested in post about similar issue.

    Thanks for your help.

Viewing 15 replies - 1 through 15 (of 19 total)
  • site url?

    ok… Login via FTP and you will get a error log file. Download the file in your local machine and open it on any editor. See the latest error from there and try to resolve that error.

    May be you will use the WP 3.5.1 (if you are using older version)

    Try temporarily renaming wp-content/plugins, then try to login.

    I did look for an error_log file both in _root and wp-includes. Nothing found.

    What are the risk? If I rename the plugins folder, and put back the original name. It’s 100% sure everything will be running normal? Or it’s a risk to create more issue?

    No risk involved. As long as you do not visit (while the plugins folder is renamed to something else).

    In which case, all your plugins would get de-activated (as they’d be found missing).

    To troubleshoot your issue, just rename plugins to something else, and see if you can access the admin dashboard. Once you can access dashboard, quickly rename the plugins folder back.




    I notice that you’re using as well as … Please make the URLs consistent.

    this is an issue partially cause by the theme update.
    once the theme was change, we notice that the website wasn’t accessible anymore with the ‘www’. Since it wasn’t possible to see why via the admin, I was left with no choice to add this:


    in the wp-config.php, the solution is not perfect, because it create issue with the menu, but until I have access again to the admin it my best option.

    I downloaded the complete website, and found no error_log file.
    I will try the others option now, and keep you posted.

    may be theme’s functions.php file is creating problem. Please rename the files like functions.php.bkp and try to check wp-admin URL once. If it work then you will check the functions.php file.

    Ok, I renamed the plugins folder, and the login still not work.

    Plus once the plugins folder is renamed, I got on the login page and the website several error message.

    So, I suppose that left me only with the option of removing the actual theme from the FTP? It’s possible to make my previous theme to be selected as default, instead of the TwentyTwelve ? Keeping only my previous template will do the trick?


    You do NOT have to remove / delete the theme folder. Just rename the theme folder / directory to something else and that wordpress would fallback to the default theme.

    Enable the error log. Put the code in wp_config.php file

    @ini_set(‘error_reporting’, E_ALL );
    define(‘WP_DEBUG’, true);
    define(‘WP_DEBUG_LOG’, false);
    define(‘WP_DEBUG_DISPLAY’, true);

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘No access to admin after theme update’ is closed to new replies.