• Resolved princessminky

    (@princessminky)


    I built a portfolio website 3 years ago. Lately one of my clients told me the website doesn’t work. I looked up online and realize it’s probably because I didn’t update WP. I followed suggestions to download latest WP6.1, and replace the current file. It works the front-end, the website is now able to be seen. When I tried to log into the admin page, it asked me to update database, I did. Then after I enter username and password, it shows this message:

    Fatal error: Cannot redeclare qs8() (previously declared in /webroot/n/e/new2c001/djgooddesigns/www/wp-content/mu-plugins/admin.php:2) in?/webroot/n/e/new2c001/djgooddesigns/www/wp-content/mu-plugins/admin.php?on line?2

    I went back to look for the file I downloaded from the server before replacing new files. Now I can’t find “mu-plugins/admin.php”, there is only “installatron_hide_status_test.php” in “the mu-plugins” folder.

    How can I fix this? I didn’t write this code, it’s all auto created when I built the site.

    Thank you.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Both the files admin.php and installatron_hide_status_test.php are not from WordPress. In fact, the mu-plugins folder, while being a folder recognized by WordPress, is not included in the WordPress application downloaded.

    As you mentioned, these must have been created automatically by something on your site, perhaps the Installatron auto-installer in your web hosting control panel or something else provided by your host.

    I’ll recommend you download a copy of this this admin.php file in the mu-plugins folder to your local computer, and delete it from your live site.

    Doing this should let you log in (or at the very least, you’ll go past this and see a new error message if there’s some other problem).

    Please note that plugin files in the mu-plugins folder are automatically activated (MU stands for “must use”) so renaming the admin.php file and leaving it inside the mu-plugins folder does no good: you’ll need to delete it completely (save a copy though, if you don’t know what it does.)

    Thread Starter princessminky

    (@princessminky)

    I deleted the “mu-plugins” folder, and now it works. Thank you very much @gappiah

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t log into admin page after update’ is closed to new replies.