Cannot create custom menu in WordPress 3.2
-
Hi,
I am struggling to create a custom menu in WordPress 3.2. When I click on “Create Menu” in the dashboard I receive the following PHP warnings and a fatal error:
Warning: Invalid argument supplied for foreach() in /usr/www/users/sabisa/test/wp-admin/includes/menu.php on line 18 Warning: Invalid argument supplied for foreach() in /usr/www/users/sabisa/test/wp-admin/includes/menu.php on line 67 Warning: Invalid argument supplied for foreach() in /usr/www/users/sabisa/test/wp-admin/includes/menu.php on line 101 Warning: Invalid argument supplied for foreach() in /usr/www/users/sabisa/test/wp-admin/includes/menu.php on line 126 Warning: uksort() [function.uksort]: The argument should be an array in /usr/www/users/sabisa/test/wp-admin/includes/menu.php on line 183 Warning: array_keys() [function.array-keys]: The first argument should be an array in /usr/www/users/sabisa/test/wp-admin/includes/menu.php on line 218 Warning: array_pop() [function.array-pop]: The argument should be an array in /usr/www/users/sabisa/test/wp-admin/includes/menu.php on line 218 Fatal error: Cannot use string offset as an array in /usr/www/users/sabisa/test/wp-admin/includes/menu.php on line 219The server has PHP version 5.2.6-1+lenny13 and MySQL version 5.0.51a. I have disabled all plugins and I am using the default theme.
-
Have you tried:
– deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
– switching to the Twenty Eleven theme to rule out any theme-specific problems.
– resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.
– re-uploading the wp-admin and wp-includes folders from a fresh download of WordPress.
Hi,
I have done a fresh install of WordPress only – no plugins or alternative themes – and it still shows the problem.
Interestingly, another installation on the same server (different domain) does not have the problem. Could it be because this installation is in a subfolder, or shares the MySQL database with a Joomla installation?
Unlikely. Looks more like a corrupt core file to me.
The topic ‘Cannot create custom menu in WordPress 3.2’ is closed to new replies.