Stuck on upgrade.php in WordPress?
Sometimes, my friend’s wordpress based site is simply stuck on /wp-admin/upgrade.php?_wp_http_referer=%2Fwp-admin%2F when trying to login as admin. The error occurs if there’s a mismatch between the version wordpress thinks it’s running according to its database and according to its config files in the file system. I don’t know why this