• Resolved claine78

    (@claine78)


    I have followed methods using the FTP Manager and the PHPMyAdmin to manual disable my plugins and I still cant login to my dashboard because I am getting the following message:

    Fatal error: Uncaught Error: Call to undefined function nocache_headers() in /home/peekaboo1949/public_html/cusopmillcottage.co.uk/wp-admin/admin.php:33 Stack trace: #0 /home/peekaboo1949/public_html/cusopmillcottage.co.uk/wp-admin/index.php(10): require_once() #1 {main} thrown in /home/peekaboo1949/public_html/cusopmillcottage.co.uk/wp-admin/admin.php on line 33

    I think this message is showing me there is something wrong with the admin.php? Is there anything else I can try?

    Many Thanks, Charlotte

    • This topic was modified 4 years, 10 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • It looks like your WordPress installation is missing some files. Try to restore it from a backup, if you can, or update WordPress manually (see how to do this first).

    Thread Starter claine78

    (@claine78)

    Hi oglekler

    I tried the backup and I still get the error message and another message in red stating that the backup failed.

    I’m not sure how to update WordPress manually. I can research this but just to be sure have you got an easy to follow tutorial link please.

    Many thanks

    Charlotte

    Hi, Charlotte!

    This is the instruction: https://www.ads-software.com/support/article/upgrading-wordpress-extended-instructions/
    The main point – to have a backup (including database) before doing anything to be able to undo this.

    But, you can try to restore files like this:
    Find, what WP version you have in this file: “/wp-includes/version.php”
    Choose your version here: https://www.ads-software.com/download/releases/ unpack and replace files. This will not contain files with custom settings like .htaccess and wp-config.php (only wp-config-sample.php) so you can just replace all of them.

    If it’ll work, then it’s better to make a fresh backup before trying to do anything else.

    It’s unclear how problems were started – you tried to update, changed some settings or site has been badly hacked. If it’s happened like “itself”, the last one is probable and it’ll complicate the whole thing.

    Olga

    • This reply was modified 4 years, 10 months ago by Olga Gleckler.
    Thread Starter claine78

    (@claine78)

    Thanks Olga

    I will attempt this and hopefully come back to you with it being resolved.

    Many Thanks

    Charlotte

    Thread Starter claine78

    (@claine78)

    Problem solved. Thanks for your help

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal Error’ is closed to new replies.