Menus stopped working (Internal Server Error) (4 posts)

  1. Eiirp
    Posted 3 years ago #


    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 domain: http://52146187.swh.strato-hosting.eu/wordpress-morsa/

    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] (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.


  2. jack randall
    Posted 3 years ago #

    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.

  3. Eiirp
    Posted 3 years ago #

    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.


  4. jack randall
    Posted 3 years ago #

    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...

Topic Closed

This topic has been closed to new replies.

About this Topic