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