Getting an error on empty image field with no data
Hi Low,
I have a select dropdown with images for featured blog posts.
I am getting a PHP error in my Control Panel (see screenshot) when I get started without data. Am using the latest version of lv and eecms on a mac. PHP 5.3 with Apache Lamp stack.
Once I upload an image to the field, it starts working fine.
Replies
Low 22 Feb 2012 10:50
Hi Amit,
Thanks for reporting. I'll fix it for the next release. To fix now, open up vt.select_files.php in a text editor and add a new line at #220, above the foreach-statement, then add this code:
That should take care of it.