Issue Raised after WordPress Update ‘I was not able to Access my Admin Panel’
Recently wordpress.org has been launched the new version 4.7 of WordPress, which is named as Vaughan in honor of legendary jazz vocalist Sarah ‘Sassy’ Vaughan. Obviously the developers have unlocked several new features with this update and also offered a new theme ‘twenty seventeen’.
But the process of updating WordPress on a site which has good size of database, is not 100% risk free. That is why there is always a note to take backup of your database before proceeding further. This is what I was actually ignoring from the starting, but won’t dare to repeat this mistake again.
After updating WordPress to 4.7, I was not able to access my Admin Panel. The website was working absolutely fine but while accessing the URL- http://domain.com/wp-admin, it was showing error “The webpage could not be reached”. I tried to reach it with another IP also, but wasn’t able to access.
Then first I took the backup of my database and tried to update WordPress manually from cPanel. I also renamed the plugins one by one, but nothing had resulted in positive and the issue was still there. After doing research about this issue on Google, I came to know that the problem was occurred due to the unsuccessful updation of database.
After digging further, finally I got the right solution among number of solutions given there. If you are also facing the same kind of problem with your website, then you can try this. The solution is applicable for all the versions, not particularly for WordPress 4.7.
Step 1: Login to your cPanel >> Go to File Manager >> Click on public_html >> Then click on ‘wp-includes’ >> Open the file ‘version.php’ >> Look for the variable (eg.- 36866) written after ‘db_version’ and copy (Ctrl+c) it.
Step 2: Go to cPanel Home >> phpMyAdmin >> Select the Database >> Click on the table named as ‘wp_options’ >> Look for the variable (eg.- xxxxx) written in the field ‘db_version / initial_db_version’. Change the variable to the one you copied in Step 1.
Now you will be able to access your wp-admin most probably, but in case if both the variables are same already then you can try to solve the issue by renaming the plugins one by one from cPanel >> File Manager >> public_html >> wp-content >> plugins.
For more queries, you can comment down below!