How to Solve Admin Login Problem in WordPress


Warning: array_keys() expects parameter 1 to be array, null given in /home/customer/www/ on line 281

Warning: Invalid argument supplied for foreach() in /home/customer/www/ on line 281

Now this is one of the most scariest thing that can happen to anyone who is starting a new blog or has an established blog with lots of posts : not to be able to get access to their WordPress dashboard. At first, you might feel getting hacked but there is simply nothing to worry about. For those affected, here is how to solve the admin login problem in wordpress!

Follow the steps below if you are a victim or do not wish to be a victim. Chances are you have all the set up done but its worth checking !

  • Log in into your CPanel.
  • Click phpMyAdmin under the Databases
  • Click on the your domains wordpress file on the left sidebar. It might have a ‘wrdp’ initial at the end 
  • Click on the wp-users


  • Below, find the Edit button and click it
  • You can see a range of options over here. If you see the user_login have ‘admin’ written change it to your old user name with which you were not able to access the wordpress dashboard.
  • Below that, in user_pass add your earlier password or a new one. Under the function table, click the drop down menu and choose MD5.
  • Next, if there is no email address added, do add it in the user_email. When I faced this problem, I wanted to send my password to my email id, but it showed there was no email id registered with my user name.
  • Click Go.
  • Your Done 🙂
Log in again and you are through!
If you have any questions, drop it below !

  1. […] most commonly known as CMSs. When you start searching for any good CMS, your search restricts to WordPress and Joomla.Both these systems are popular and heavily used throughout the […]

  2. email database says

    this is a wonderful site will surely return back to get information from the inform

  3. Rajesh Namase says

    Very good article, thanks. Keep posting such good articles.

  4. Ahsan says

    I don't know the tips. I bookmarked it for future use. Keep good work 🙂

    1. Mushfique says

      Thanks Ahsan! Glad you bookmarked it. 🙂
      I hope you do not face such type of problem!

  5. Gaurav Garg @ hacker says

    Nice Post… really a good article and very useful for me coz i was getting this problem from last some days.. thanks a lot Mr. Mushfique

    1. Mushfique says

      Thanks Gaurav! and your welcome ! 🙂 It's great to know I could help someone ! 😀

Leave A Reply

Your email address will not be published.