class-YaoCMS_FeaturedPosts.php line 77

if (isset($featured_pts)) { => if (!empty($featured_pts)) {