Fatal error: Uncaught Error: Class 'Illuminate\Http\Resources\Json\Resource' not found in /home/app/htdocs/ninja/vendor/laravel/framework/src/Illuminate/Http/Resources/Json/ResourceCollection.php:9 Stack trace: #0 {main} thrown in /home/app/htdocs/ninja/vendor/laravel/framework/src/Illuminate/Http/Resources/Json/ResourceCollection.php on line 9