In my theme I have a folder foo with 26 php files.
In the current folder of my dev server only 25 show up.
Let’s say bar1.php is missing.
If I create a new file bar2.php, bar1.php shows up bar2.php shows up too but bar3.php goes missing.
If I repeat this there’s always one random file missing.
Any Ideas on how to debug this? What other information do you need to help me?