Fatal error: Uncaught Error: Call to a member function connection() on null in /var/www/clients/client25/web20/web/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1138
Stack trace:
#0 /var/www/clients/client25/web20/web/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1104): Illuminate\Database\Eloquent\Model::resolveConnection()
#1 /var/www/clients/client25/web20/web/vendor/october/rain/src/Database/Model.php(600): Illuminate\Database\Eloquent\Model->getConnection()
#2 /var/www/clients/client25/web20/web/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(847): October\Rain\Database\Model->newBaseQueryBuilder()
#3 /var/www/clients/client25/web20/web/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(885): Illuminate\Database\Eloquent\Model->newModelQuery()
#4 /var/www/clients/client25/web20/web/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(836): Illuminate\Database\Eloquent\Model->newQueryWithoutScopes()
#5 /var/www/clients/clie in /var/www/clients/client25/web20/web/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php on line 1138
Fatal error: Uncaught Error: Call to a member function connection() on null in /var/www/clients/client25/web20/web/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1138
Stack trace:
#0 /var/www/clients/client25/web20/web/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1104): Illuminate\Database\Eloquent\Model::resolveConnection()
#1 /var/www/clients/client25/web20/web/vendor/october/rain/src/Database/Model.php(600): Illuminate\Database\Eloquent\Model->getConnection()
#2 /var/www/clients/client25/web20/web/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(847): October\Rain\Database\Model->newBaseQueryBuilder()
#3 /var/www/clients/client25/web20/web/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(885): Illuminate\Database\Eloquent\Model->newModelQuery()
#4 /var/www/clients/client25/web20/web/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(836): Illuminate\Database\Eloquent\Model->newQueryWithoutScopes()
#5 /var/www/clients/clie in /var/www/clients/client25/web20/web/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php on line 1138