The bug can lead to the situation where all of your content gets hidden if you have
The problem is in the line where nodes for hiding are fetched:
$hiddenNodesParams looks like this:
Basically all nodes are fetched.
Solution is to use $countParams instead.
- create one class with hide_data
- create an object with hide_data in the past somewhere in the content tree
- configure content.ini with RootNodeList=2
- execute cronjob