I finally found the error. There's something wrong with my routes in web.php, when I put the profile route on top of the file it works. Going to figure out the exact error now.
No query results for model [App\Thread].
Hey there,
I am following the forum series from Jeffrey and decided to change things up a little and make my own project out of it. I have changed plenty things, such as routes and I am using tags instead of channels.
Now when I try to go to /profiles/anyName, I get this:
"No query results for model [App\Thread]."
Now I'm not sure why this would request any threads in the first place, because this alert is occurring, even with:
"public function show(User $user) { dd($user); }"
in ProfilesController.php. I have not changed this route:
"Route::get('/profiles/{user}', 'ProfilesController@show')->name('profile')"
Thank you!
Please or to participate in this conversation.