Solution:
The issue occurs because the theme editor is trying to access files inside the _vti_cnf folder within your theme directory.
To fix it:
- Delete the _vti_cnf folder from your theme directory.
- Log out of WordPress and then log back in.
- The theme editor should now display the correct files.