@clorith I’m not using any loadbalancing or heavy caching. But, It is an optimized WordPress account. Please note that the problem only effects my main theme and not any other installed themes. Furthermore, on the same host and same account type, I have another website that I am able to edit php theme files without any issues.