Shape 5

General Category => Wordpress Talk => : inndesign July 25, 2012, 09:27:24 PM



: No Access to Admin Area
: inndesign July 25, 2012, 09:27:24 PM
Hello,

I was working on this page http://www.westfieldhorizon.org/ and the only big change I remember I made was including the Akismet key, when suddenly I could not access my admin area anymore.

I can see the page ok but if I go to the top bar to go to the Dashboard, Themes, etc. or http://www.westfieldhorizon.org/wp-admin/ the following blank page and error message appears:


Warning: Invalid argument supplied for foreach() in /home/westfiel/public_html/wp-admin/includes/menu.php on line 18

Warning: Invalid argument supplied for foreach() in /home/westfiel/public_html/wp-admin/includes/menu.php on line 67

Warning: Invalid argument supplied for foreach() in /home/westfiel/public_html/wp-admin/includes/menu.php on line 101

Warning: Invalid argument supplied for foreach() in /home/westfiel/public_html/wp-admin/includes/menu.php on line 126

Warning: uksort() [function.uksort]: The argument should be an array in /home/westfiel/public_html/wp-admin/includes/menu.php on line 183

Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/westfiel/public_html/wp-admin/includes/menu.php on line 218

Warning: array_pop() [function.array-pop]: The argument should be an array in /home/westfiel/public_html/wp-admin/includes/menu.php on line 219

Fatal error: Cannot use string offset as an array in /home/westfiel/public_html/wp-admin/includes/menu.php on line 220


Please let me know how could I solve this problem.  Thank you in advance!


: Re: No Access to Admin Area
: Tristan Rineer July 26, 2012, 10:46:31 AM
If you think the problem started after changing the Akismet settings, I would suggest accessing the site through FTP and renaming the "/wp-content/plugins/akismet" folder to "_akismet" or similar.  That will make WordPress "lose" Akismet and will disable it.  If that plugin is the problem, the auto-disable should solve it.  If that doesn't work, try using the same process on the other plugins one at a time until you manage to disable the one that's causing the issue.

Before doing that, however, you may want to try downloading the latest version of WP and uploading it to your site with "overwrite all" enabled.  If there are any bugs in WP core or Akismet, a manual update and/or file "refresh" should fix them.


: Re: No Access to Admin Area
: inndesign July 26, 2012, 06:02:03 PM
Thank you so much for your quick reply!  Before doing what you suggested, I re-started the PC and when I came back to work, everything was back to normal - I could enter the admin area!!!