Title: Timeout saving menu; 404
Last modified: August 31, 2016

---

# Timeout saving menu; 404

 *  [Adrian](https://wordpress.org/support/users/adriandw/)
 * (@adriandw)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/timeout-saving-menu-404/)
 * I love Max Mega Menu but I’ve been getting 500 server errors when I save a menu.
   
   I was getting 503 timeout errors so my host support people added this line to
   my htaccess file
 *     ```
       <IfModule mod_dtimeout.c>
           <Files ~ ".php">
               SetEnvIf Request_URI nav-menu DynamicTimeout=300
         </Files>
       </IfModule>
       ```
   
 * Then I started getting 500 errors became.
    My hosting provider says it’s because
   the process (nav-menu) is now killed after its time limit has expired.
 * Sometimes when I revisit the menu page after the timeout, it turns out that the
   menu save had completed correctly.
 * The problem seems to be load related as I am on a shared host, but I don’t think
   it should be taking so long.
 * The following error was logged but I don’t know if it’s related:
    404 error trying
   to fetch /wp-content/plugins/megamenu/js/select2/select2.png Referrer: /wp-content/
   plugins/megamenu/js/select2/select2.css
 * I installed a copy of select2.png in that folder to stop the error message.
 * Site is [https://comptonshawford-pc.gov.uk](https://comptonshawford-pc.gov.uk)
 * [https://wordpress.org/plugins/megamenu/](https://wordpress.org/plugins/megamenu/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/timeout-saving-menu-404/#post-7208494)
 * Hi Ardian,
 * MMM does not interfere with the Save process on the Appearance > Menus page –
   core WordPress handles all of that.
 * I am pretty confident this is a problem with your host and therefore they’ll 
   be the only ones who can fix it. If it is timing out then maybe you can try increasing
   the DynamicTimeout value in the code you have pasted (I’m just guessing here 
   but that’s what I’d try). If that doesn’t work you’ll need to go back to your
   host.
 * Regards,
    Tom

Viewing 1 replies (of 1 total)

The topic ‘Timeout saving menu; 404’ is closed to new replies.

 * ![](https://ps.w.org/megamenu/assets/icon-128x128.png?rev=1489843)
 * [Max Mega Menu](https://wordpress.org/plugins/megamenu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/megamenu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/megamenu/)
 * [Active Topics](https://wordpress.org/support/plugin/megamenu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/megamenu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/megamenu/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [megamenu](https://wordpress.org/support/users/megamenu/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/timeout-saving-menu-404/#post-7208494)
 * Status: not resolved