You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the "Build a Like/Dislike system" episode 67 of the series, in 22:23 timestamp, we start including the "like" and "dislike" buttons and im getting a Call to a member function where() on null this happens after I implement this on the _tweet.blade.php blade file
How can I start knowing what's going on in or out from the isDislikedBy() ? What im thinking is that I should be back-engineering the source of that where function because what's inside of it, it's returning null. I noticed jeffrey doesn't ever references a Model, like for example, this: use App\Like and that happens in most of the files, where as I have had to do that in some Models. I know he's on Laravel 6 and Im wondering if in Laravel 8, the reason why it's returning null is because an endpoint somewhere isn't being referenced. Thanks! Awesome project.
The text was updated successfully, but these errors were encountered:
In the "Build a Like/Dislike system" episode 67 of the series, in 22:23 timestamp, we start including the "like" and "dislike" buttons and im getting a
Call to a member function where() on null
this happens after I implement this on the_tweet.blade.php
blade fileThe error is actually being returned in line 4:
How can I start knowing what's going on in or out from the
isDislikedBy()
? What im thinking is that I should be back-engineering the source of that where function because what's inside of it, it's returning null. I noticed jeffrey doesn't ever references a Model, like for example, this:use App\Like
and that happens in most of the files, where as I have had to do that in some Models. I know he's on Laravel 6 and Im wondering if in Laravel 8, the reason why it's returning null is because an endpoint somewhere isn't being referenced. Thanks! Awesome project.The text was updated successfully, but these errors were encountered: