Trying to get property 'id' of non-object
In the following code, I'm getting error;
public function __construct()
$this->currentuser = Auth::user()->id;
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!