Fatal error: Uncaught Error: Class 'Illuminate\Database\Eloquent\Relations\HasOneOrMany' not found in C:\xampp\htdocs\admin\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Relations\MorphOneOrMany.php:8
Stack trace:
#0 {main}
thrown in C:\xampp\htdocs\admin\vendor\laravel\framework\src\Illuminate\Database\Eloquent\Relations\MorphOneOrMany.php on line 8