Closed AEK-BKF closed 2 years ago
I'd need more details to be able to diagnose the problem. Could you post the entire stack trace?
Thanks for quick reply, Yes sure, I set up my User Model (in App\User) like in docs :
<?php
use IFRS\Traits\IFRSUser;
use IFRS\Interfaces\Recyclable;
...
class User ... implements Recyclable {
...
use IFRSUser;
...
}
...
?>
That seems okay, where do you get the error? when you run the tests? Have you also gone through the example on the README?
The errors appears when I implement the User model from Recyclable, If I remove it, it works fine !
Huh, thats rather perculiar
@AEK-BKF
1) Is your User model set in IFRS config /config/ifrs.php
?
2) Is your User model set in Laravel Auth config /config/auth.php
?
3) Is your User model Authenticatable ?
@jonagoldman
Okey I fiexd it by: -> Adding SoftDeletes to User Model, make migration to add the field. -> Adding Recycling Trait also.
The doc needs improvement.
Thanks
Hi, I get this error when I configured User Model as you mentioned in docs.
Class '\App\User' not found
Laravel : 6.x