EZP-20437 - Php Warning while clearing caches from console