Try changing your User.php to look like https://github.com/laravel/laravel/blob/master/app/User.php
Try this for you model class declaration:
class User extends Eloquent implements UserInterface, RemindableInterface
Hey, for what it's worth, I ran into the exact issue when updating to laravel 5.1 (still running into in fact...). The user model was verbatim with what was in the laravel github repo. Everything is basically the same except for what was in my composer.json file.
Every time I do a composer update, it brings this error up unless I run a composer dumpautoload after updating. Still don't know the root of the cause, but this got things moving again.
-- Update --
Figured it out! I had a friggin' Model that was declaring itself as 'user'
In particular:
use Laravel\Cashier\Billable;
use Illuminate\Database\Eloquent\Model;
use Laravel\Cashier\Contracts\Billable as BillableContract;
class User extends Model implements BillableContract
{
use Billable;
protected $dates = ['trial_ends_at', 'subscription_ends_at'];
}
In other news, I am an idiot.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community