Menus stopped working (Internal Server Error)
today my menu editor in the dashboard started behaving strange and giving Internal Server Errors (sometimes). At first I remarked the dashboard being pretty slow today and when I tried to edit the menu of my website the browser started giving my Internal Server Errors (mostly when saving a menu).
I did already read about this problem here, but it was always related to menus with lots of pages or similar. My page just has two menus, one with 5 post entries and the other one with just one page entry, at the moment.
The problem occured with WordPress 3.5 and after the update today to 3.5.1 aswell.
As I wrote, the dashboard is kind of slow, I get internal server errors from time to time (or the dashboard appearance changes, see screenshot) when editing the menu.
Anyone knows what the problem might be?
Here some more info:
The theme is based in wpshower’s imbalance2
menu in functions.php:
register_nav_menus( array( 'header-1' => __( 'Header 1 Navigation', 'imbalance2' ), 'header-2' => __( 'Header 2 Navigation', 'imbalance2' ) ) );
menu in header.php:
<?php wp_nav_menu( array( 'container_class' => 'menu', 'theme_location' => 'header-1', 'walker' => new Imbalance2_Walker_Nav_Menu(), 'depth' => 1 ) ); ?> <?php wp_nav_menu( array( 'container_class' => 'menu', 'theme_location' => 'header-2', 'walker' => new Imbalance2_Walker_Nav_Menu(), 'depth' => 1 ) ); ?>
The Server Error log says:
29.01.2013 00:21:39 52146187.swh.strato-hosting.eu [client 220.127.116.11] (70007)The timeout specified has expired: Error reading request entity data, referer: http://52146187.swh.strato-hosting.eu/wordpress-morsa/wp-admin/nav-menus.php
The menus seem to work on the website, but I’d like them to work properly in the dashboard aswell 🙂 Until today they did their job.
it might be a php memory issue. i had problems with menus a while ago due to too many elements in the menu maxing out the server’s php memory allocation. if you have a lot of menu items and links try to restructure them and re-group them then create widgets and use them for the overspill.
Hello, thanks. I already read about this memory stuff, but didn’t really get it. What kind of memory is it exactly? And on which setting to put the memory? I’ve seen something about 64M, 256M, etc.
it’s a serverside setting that basically means your wordpress site can run x amount of php calls and processes on that server. i’m not too sure if there’s any way to work around it as it’s a setting dictated by your hosting company. maybe get in touch with them and see what they say. otherwise it’s a case of trim the menu and relocate links to cut down on the load of the menu call…
- The topic ‘Menus stopped working (Internal Server Error)’ is closed to new replies.