switch failed: unexpected value 'Invalid mode: '
Array
(
    [0] => Array
        (
            [function] => switchFailed
            [file] => /home/trethu/projects/grainfields/www/menus/menusController.php
            [line] => 43
        )

)