replace CakeErrorController by ErrorController