colbyr / aware

self-validating models for Laravel\Eloquent

Home Page:http://bundles.laravel.com/bundle/aware

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!