Firstly I created a fresh Laravel project and some seeders to create the user for admin access. Then Installed the package, initialized as per the instructions including adding and referencing it to IFRS in the User model, as per the readme.md. When I tried to migrate the database and seed it altogether, below is the error which I am receiving.
Kindly help me with this error, it will be a great help!
Call to undefined method App\Models\User::restoring()
at C:\xampp\htdocs\Voyages\vendor\laravel\framework\src\Illuminate\Support\Traits\ForwardsCalls.php:67
63▕ * @throws \BadMethodCallException
64▕ */
65▕ protected static function throwBadMethodCallException($method)
66▕ {
➜ 67▕ throw new BadMethodCallException(sprintf(
68▕ 'Call to undefined method %s::%s()', static::class, $method
69▕ ));
70▕ }
71▕ }
i Bad Method Call: Did you mean App\Models\User::creating() ?
1 C:\xampp\htdocs\Voyages\vendor\laravel\framework\src\Illuminate\Support\Traits\ForwardsCalls.php:36
Illuminate\Database\Eloquent\Model::throwBadMethodCallException("restoring")
2 C:\xampp\htdocs\Voyages\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Model.php:2333
Illuminate\Database\Eloquent\Model::forwardCallTo(Object(Illuminate\Database\Eloquent\Builder), "restoring")
Hello,
Greetings!
Firstly I created a fresh Laravel project and some seeders to create the user for admin access. Then Installed the package, initialized as per the instructions including adding and referencing it to IFRS in the User model, as per the readme.md. When I tried to migrate the database and seed it altogether, below is the error which I am receiving.
Kindly help me with this error, it will be a great help!