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