Multi select relationship complaining about json?

I have this component:
Select::make('related_products')
->label('Related Products')
->relationship('products', 'name')
->preload()
->multiple()
->searchable(),
Select::make('related_products')
->label('Related Products')
->relationship('products', 'name')
->preload()
->multiple()
->searchable(),
But i get this error: https://flareapp.io/share/x5MZXKem name is not json, so i have no clue what's going wrong
Flare
SQLSTATE[42883]: Undefined function: 7 ERROR: could not identify an equality operator for type json LINE 1: select distinct "products".* from "products" left join "guid... ^ (Connection: pgsql, SQL: select distinct "products".* from "products" left join "guide_product" on "products"."id" = "guide_product"."product_id" wh...
1 Reply
DanielvdSpoel
DanielvdSpoelOP11mo ago
Bumb
Want results from more Discord servers?
Add your server