Fatal error: Uncaught Error: Class "Illuminate\Http\Resources\Json\ResourceCollection" not found in D:\xampp\htdocs\ebaymotors\vendor\laravel\framework\src\Illuminate\Http\Resources\Json\AnonymousResourceCollection.php:5
Stack trace:
#0 {main}
thrown in D:\xampp\htdocs\ebaymotors\vendor\laravel\framework\src\Illuminate\Http\Resources\Json\AnonymousResourceCollection.php on line 5