When I try to use a where clause after the search method I get this:
That's my Product model: Product model
I've tried two methods to get the products of a specific store_id:
This one and this one (sorry for not using the code formatting I'm too dumb for that)
Any ideas about what I'm doing wrong?
I'm using PHP 8.0.10, Arch Linux, Meilisearch 0.22.0, Laravel 8.4, Laravel Scout 9.2 and meilisearch-php 0.19.1.
Thanks in advance.