Error message

Warning: count(): Parameter must be an array or an object that implements Countable in _photos_block_image() (line 1397 of /home1/csmta/public_html/sites/all/modules/photos/photos.module).