0

I am currently learning to use Filament, but I encountered an error that says, Filament\Support\Services\RelationshipJoiner::prepareQueryForNoConstraints(): Argument #1 ($relationship) must be of type Illuminate\Database\Eloquent\Relations\Relation, null given, called in C:\laragon\www\car-wash\vendor\filament\forms\src\Components\Select.php on line 773. I have tried to fix the error, but it is very difficult and I still don't know why this error is occurring.

Here is an image of the error:enter image description here

Here is an code CarStoreResource : enter image description here

Here is an code CarStoreModel : enter image description here

Here is an StoreServiceModel : enter image description here

I just want to know why the error occurred because I’m really confused

1
  • 1
    Please share more details, like the code involved in text form, and your attempts to resolve the problem
    – Nico Haase
    Commented Jul 10 at 7:25

0