Updated Controller.php

New error message