dijkr / Copia

Laravel-project with CMS
0 stars 0 forks source link

Exception is thrown when the category hasn't products assigned yet #12

Closed dijkr closed 1 year ago

dijkr commented 1 year ago

Attempt to read property "Category" on null It tries: $product = $products->first(); There is no product yet.

dijkr commented 1 year ago

Solved https://github.com/dijkr/Copia/issues/18