Skip to content
Advertisement

Array of images in laravel

While I am retrieving array of images I get this error:

Trying to get property ‘images’ of non-object (View: C:xampphtdocsuserresourcesviewsproductview.blade.php)

JavaScript

view blade:

JavaScript

Advertisement

Answer

you need to clean and fix your code:

your controller function:

JavaScript

in blade file:

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement