Update app/Controller/Component/ControllerListComponent.php

adding function is_array() and !empty() to handle warning in cakephp 2.2.5 and php 5.4.11