Error using $MODEL->errors->all() in Laravel 4
stygiansabyss opened this issue · comments
Every time I save and look for errors I get an error now.
Call to a member function all() on a non-object
Not sure how this should be corrected so it will stop.
hey @stygiansabyss, this is what you want:
$model->getErrors()->all();
Sorry, it took me so long to get back with you!