@slam this is really useful! I have managed to solve my very similar issue now by following some of the things you mentioned! Basically for me the light-bulb moment was the case insensitivity of Mac, so checking my staging site I realised that App.php had been renamed app.php on deployment!