[ad_1]
You should Change your if in your view to
if(isset($images) && is_array($images))
that way if $images in undefined it will nto throw an error it will just skip that all together
4
[ad_2]
solved Why is my gallery view page throwing up an error?