Deprecated: Illuminate\Database\Eloquent\Relations\HasManyThrough::performJoin(): Implicitly marking parameter $query as nullable is deprecated, the explicit nullable type must be used instead in C:\Apache24\htdocs\invitation-app\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Relations\HasManyThrough.php on line 124

Deprecated: Illuminate\Database\Eloquent\Relations\HasManyThrough::firstOr(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in C:\Apache24\htdocs\invitation-app\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Relations\HasManyThrough.php on line 332

Deprecated: Illuminate\Database\Eloquent\Relations\HasManyThrough::findOr(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in C:\Apache24\htdocs\invitation-app\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Relations\HasManyThrough.php on line 419

Fatal error: Uncaught Error: Class "Illuminate\Database\Eloquent\Relations\Relation" not found in C:\Apache24\htdocs\invitation-app\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Relations\HasManyThrough.php:14 Stack trace: #0 {main} thrown in C:\Apache24\htdocs\invitation-app\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Relations\HasManyThrough.php on line 14