However I getting an error after I have changed something in a file that uses the services.yml file. The error is
Undefined class constant 'ERROR'. This happens after I have purged the cache but if I purge the cache for a second time then the error goes away.
Anyone any ideas?