1 year ago by Thomas Amalraj

Relates to the lesson Build a classified ads site

Hi, Thanks Alex for the excellent tutorials. Getting to learn a lot with your live coding. I have been following the tutorial on Classified ads. While setting up Laravel Scout and Algolia search, though i did everything as done on line, I dont find Scout.php added to config and unable to execute scout:import command -getting error no commands defined under scout namespace. After adding searchable trait to Listing.php, when I try to create a new listing, I am getting an error - BindingResolutionException in Container.php line 888: Unresolvable dependency resolving [Parameter #0 [ <required> $app ]] in class Illuminate\Support\Manager. I am stuck on this for a while. Any help in this regard would be appreciated.

I am using Laravel 5.4 on Homestead

1 year ago by Thomas Amalraj

Hi, have solved the problem myself. It just required a couple of config:cache clear and the error was gone.

Sign in or create an account to reply to this topic.