Facebook
Twitter
LinkedIn
Instagram
Whatsapp
Call Now
Quick Inquiry

How to create favourite system in laravel with relations with multi model ?

How to create favourite system in laravel with relations with multi model ?

Attempt to read property "user_id" on null because there is no $this-> favorite record. It's returning null, in this case.

 $this->favourite === null

8 0

Write a Comments


* Be the first to Make Comment

GoodFirms Badge
GoodFirms Badge

Fix Your Meeting With Our SEO Consultants in India To Grow Your Business Online