All sorted. I removed all my libraries and started a fresh and the issue has resolved itself. Definitely to do with some sort of library conflict as mentioned by @mfalkvidd
Best posts made by sentur
-
RE: Error verifying DhtTemperatureAndHumiditySensor Script wont compile