How to create favourite system in laravel with relations with multi model ?
- Yogesh Kumar
- 02-May-2022
- 0
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
202 0
7
* Be the first to Make Comment