You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'resources%' LIMIT 1' at line 1
SELECT `iweb_hs_categories`.`category_id`, `iweb_hs_categories`.`parent_id`, `iweb_hs_categories`.`last_activity`, `iweb_hs_categories`.`last_listing`, `iweb_hs_categories`.`cat_count`, `iweb_hs_categories`.`teaser`, `iweb_hs_categories`.`sort_order`, `iweb_hs_categories`.`price`, `iweb_hs_categories`.`category_name`, `iweb_hs_categories`.`category_icon`, `iweb_hs_categories`.`full_name`, `iweb_hs_categories`.`meta_title`, `iweb_hs_categories`.`meta_keywords`, `iweb_hs_categories`.`meta_description`, `iweb_hs_categories`.`description`, `iweb_hs_categories`.`page_content`, `iweb_hs_categories`.`rule`, `iweb_hs_categories`.`qualifiers`, `iweb_hs_categories`.`template` FROM `iweb_hs_categories`  WHERE `iweb_hs_categories`.`category_name` LIKE '%writers' resources%'    LIMIT 1
Fatal error: Call to a member function fetch_assoc() on boolean in /var/www/html/demo_youportal/classes/sdba/sdba.php on line 161