Error message

Warning: count(): Parameter must be an array or an object that implements Countable in MDBackgroundPage::getall() (line 37 of /home/p2448/public_html/alltimesart.com/sites/all/modules/custom/mod_background_page/inc/mod_background_page.classec.inc).