2

This question already has an answer here:

For the last month or so, seemingly at random and with no discernible pattern, my menu disappears. However, when I look at the Dashboard, what I find is that all the menu items have been deleted but the menu itself is still there. I can select and add the items back and they reappear. There is nothing in my error logs, and I'd guess it's happening about once/week, though that's just a guess.

I am using a modified default theme, though the theme has not changed for over a year and this problem started recently.

Because I cannot predict when this will happen it's difficult for me to remove all plugins indefinitely while I wait as it will break lots of functionality on my site. However, none of the plugins are directly related to the menu system. And they've all been in place for quite a while.

I've seen some posts that seem related to this problem but they all involve huge menus. My menu only has 4 items! The items all point to Pages. The structure/contents of the menu have not changed for a couple years.

Any ideas? Even ideas on how to troubleshoot this would be appreciated.

marked as duplicate by Rarst Jul 1 '14 at 22:43

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    I would go out and say it is nearly impossible to pin point an intermitted fault, as it comes and goes for no aparent reason. What makes is more tougher is when debug is "on", and you get no error when your menu fails. It is irrelevant to disable all plugins one by one and swithing to a bundled theme, as you never know when your menu will fail again – Pieter Goosen May 26 '14 at 10:00
  • To me, programmatically speaking, it seems you have a plugin that deletes terms of the taxonomy "nav_menu" every X days. – Nabil Kadimi May 26 '14 at 10:07
  • Not the first time I see something like this reported (Nav menu items disappearing (but not immediately)), had never seen solved though. :( – Rarst May 26 '14 at 11:50
  • 1
    I'd start using a log file - the only chance to catch randomly appearing errors. Better use both, a PHP and the WP log file. – kaiser May 26 '14 at 12:00
  • 1
    We are experiencing a similar bug which has to do with the wp_scheduled_auto_draft_delete cron job, I have asked an own question here: wordpress.stackexchange.com/questions/145953/…. – Gellweiler May 29 '14 at 18:57

Browse other questions tagged or ask your own question.