Trait method restore has not been applied, because there are collisions with other trait methods on App\User
This happens because entrust and softdeletes both have a method called “restore”.
1 2 3 4 5 6 7 |
use SoftDeletes { restore as private restore_user; } use EntrustUserTrait { restore as private restore_acl; } public function restore() { $this->restore_user(); $this->restore_acl(); } |
Reference: https://laravel-china.org/topics/1775/resolve-entrust-trait-conflicts