Fatal error: Uncaught Error: Class "Illuminate\Database\Eloquent\Relations\Relation" not found in /home/deborapsol/laravel/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/BelongsToMany.php:17 Stack trace: #0 {main} thrown in /home/deborapsol/laravel/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/BelongsToMany.php on line 17