Deprecated: Illuminate\Database\Eloquent\Relations\BelongsToMany::findOr(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/encoal/public_html/vendor/illuminate/database/Eloquent/Relations/BelongsToMany.php on line 756

Deprecated: Illuminate\Database\Eloquent\Relations\BelongsToMany::firstOr(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /home/encoal/public_html/vendor/illuminate/database/Eloquent/Relations/BelongsToMany.php on line 830

Fatal error: Uncaught Error: Class "Illuminate\Database\Eloquent\Relations\Relation" not found in /home/encoal/public_html/vendor/illuminate/database/Eloquent/Relations/BelongsToMany.php:18 Stack trace: #0 {main} thrown in /home/encoal/public_html/vendor/illuminate/database/Eloquent/Relations/BelongsToMany.php on line 18