I just got my site running smoothly in production when I noticed that all my collections disappeared in the CP. I checked the home page and the entire site was down. Weird, right?
- All the files were still there in the collections folder
- I hadn't saved any collections prior to the Weird Event
- If I created a new collection through the CP, it showed up just fine.
I read this forum post where they mentioned hitting "Save" in any of the settings pages, which brought the collections back. I tried that and it also brought them back for me (phew!), but I have no idea why. Thought I'd mention that here in case this becomes a recurring theme.
Using Statamic 2.11.9 on PHP 7.0