• Hi,
    When I try to create a new menu in Menus I get the report below. Does anyone have any idea as to what I should do to resolve this please?
    Thanks, Tim

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

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

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

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

    Warning: uksort() [function.uksort]: The argument should be an array in /home/welagain/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/welagain/public_html/wp-admin/includes/menu.php on line 218

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

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

Viewing 14 replies - 1 through 14 (of 14 total)
  • 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.

    Thread Starter rtdunn

    (@rtdunn)

    That was quick esmi, thanks. I’ll give it a go but don;t have any plug-ins. I do have a Artisteer theme, so I’ll switch back to 20 11.

    Thread Starter rtdunn

    (@rtdunn)

    I’ve uploaded v3.3.1 and the wp-admin and wp-includes as suggested, switched to the Twenty Eleven theme and back, and my 2 standard plugins are deactiviated. I also tried changing the menu.php file to chmod 755. But there is still no change. Any other ideas please?
    TIm

    switched to the Twenty Eleven theme and back

    No. Switch to the Twenty Eleven theme and see if you can create a new menu whilst using that theme.

    Thread Starter rtdunn

    (@rtdunn)

    Yes I did that esmi, the problem is still there.

    Try re-uploading all files & folders – except the wp-content folder – from a fresh download of WordPress.

    Thread Starter rtdunn

    (@rtdunn)

    Thanks, but same problem. I now going to do a complete reinstall of WP331 and see if that improves things.

    Thread Starter rtdunn

    (@rtdunn)

    A new install on a account works OK, with the 2011 theme and nothing else.

    Then you either had a corrupted WP core file or it was a theme/plugin issue.

    Thread Starter rtdunn

    (@rtdunn)

    The reason I opted for my own theme was because it is a simple site, nav menu on the left with links to 7 or 8 static pages, and a forum. The header image uses my design, 800 x 160 px right at the top. I couldn’t find any simple theme to do this. Maybe it was trying to change the 2011 theme to suit that resulted in the corrupted core file. I feel it should have been somewhat more robust than that.

    Maybe it was trying to change the 2011 theme to suit that resulted in the corrupted core file.

    Do not edit the Twenty Eleven theme. It is the default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. Create a child theme for your changes.

    Or use a basic theme like Starkers or Thematic as a starter point.

    Thread Starter rtdunn

    (@rtdunn)

    Thank you esmi, I’ll try those.

    Thread Starter rtdunn

    (@rtdunn)

    I had to terminate my web account, and recreate everything in order to get rid of the problem.

    Excellent Advice.

    I had it easy! I disabled all plug-ins, everything was fine. Went through enabling one or two at a time. Found the dodgy Plugin.

    Thanks.
    Phil Bennett

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Fault reports on Appearence > Menus’ is closed to new replies.