That error means
$logbook is null but you're trying to assign a property to it as if it were an object. I'm guessing if you try to debug
$req->input('id') you will find that it does not contain what you expect it to, which in turns causes the
find() method to return null instead of your model.
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us
The Laravel portal for problem solving, knowledge sharing and community building.