Hidding an object causes error on the front.
When you hide or unhide a folder or an object, it seems not to work and you face an error in the front end until you flush the cache.
Steps to reproduce.
- Hide a content.
- Go to the front url of that content
- Notice the symfony error page