You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm always getting an error when trying to seed my database causd be the method
$user->befriend($arg);
My research has shown that this method is outdated. My updates did not help me to get rid of this error. Will it be fixed?
`
Symfony\Component\Debug\Exception\FatalThrowableError : Call to undefined method Illuminate\Events\Dispatcher::fire()
at /var/www/my-api/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:239
235| if (! $instance) {
236| throw new RuntimeException('A facade root has not been set.');
237| }
238|
I'm always getting an error when trying to seed my database causd be the method
$user->befriend($arg);
My research has shown that this method is outdated. My updates did not help me to get rid of this error. Will it be fixed?
`
Symfony\Component\Debug\Exception\FatalThrowableError : Call to undefined method Illuminate\Events\Dispatcher::fire()
at /var/www/my-api/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:239
235| if (! $instance) {
236| throw new RuntimeException('A facade root has not been set.');
237| }
238|
Exception trace:
1 Illuminate\Support\Facades\Facade::__callStatic("fire")
/var/www/my-api/vendor/hootlex/laravel-friendships/src/Traits/Friendable.php:35
2 App\User::befriend(Object(App\User))
/var/www/my-api/database/seeds/UserTableSeeder.php:56
Please use the argument -v to see more details.
Whoops\Exception\ErrorException : Module 'sqlite3' already loaded
at Unknown:0
1|
Exception trace:
1 Whoops\Run::handleError("Module 'sqlite3' already loaded", "Unknown")
/var/www/my-api/vendor/filp/whoops/src/Whoops/Run.php:408
2 Whoops\Run::handleShutdown()
[internal]:0
`
The text was updated successfully, but these errors were encountered: