I am having a sudden error on a drupal site I inherited in that I cannot edit views anymore, any of them. One moment I am able to open a view for editing by clicking the edit link on the all views list and the next moment the edit link results in
The requested page could not be found.
for all views.
The only change I made was to change the display on a field from do not display to display for a specific view. I then updated the view and saved it. At first the save did not work, but then I clicked again and it saved. The field I wanted displayed but now I cannot reach the edit screen for any of the views.
The log only references the 404 error, but nothing as to why, my apache log is equally unhelpful in determining why this has become the case suddenly.
The rest of the site, so far as I can tell, is running as usual and I can still list the views and see the actual views when going to their paths.
Update (problem solved but question remains): I drush cc all
(cleared the cache) and the view edit pages are reachable again.
Though for future reference, what might be the reason that this happened? I feel like this isn't the first time I've found Drupal acting unpredictable and that clear the cache sets it straight.