Fatal error: Uncaught Error: Class 'Illuminate\Database\Eloquent\Model' not found in /home/app/htdocs/lidia/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/Pivot.php:9 Stack trace: #0 {main} thrown in /home/app/htdocs/lidia/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/Pivot.php on line 9