Yii 1 Clear Cache

Yii::app()->cache->flush();
Index out of bounds