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