mardi 11 août 2020

Uncaught Error: Call to a member function connection() on null /vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1342 [closed]

PHP Fatal error:  Uncaught Error: Call to a member function connection() on null in /var/www/html/App/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1342
Stack trace:
#0 /var/www/html/App/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1308): Illuminate\Database\Eloquent\Model::resolveConnection(NULL)
#1 /var/www/html/App/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1114): Illuminate\Database\Eloquent\Model->getConnection()
#2 /var/www/html/App/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1031): Illuminate\Database\Eloquent\Model->newBaseQueryBuilder()
#3 /var/www/html/App/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1067): Illuminate\Database\Eloquent\Model->newModelQuery()
#4 /var/www/html/App/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1020): Illuminate\Database\Eloquent\Model->newQueryWithoutScopes()
#5 /var/www/html/App/v in /var/www/html/App/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php on line 1342
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 255


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire