Fatal error: Uncaught Error: Class 'Illuminate\Http\Resources\Json\JsonResource' not found in /home/heranore/public_html/testhotelyadmin/vendor/laravel/framework/src/Illuminate/Http/Resources/Json/ResourceCollection.php:10 Stack trace: #0 {main} thrown in /home/heranore/public_html/testhotelyadmin/vendor/laravel/framework/src/Illuminate/Http/Resources/Json/ResourceCollection.php on line 10