SQL ERROR:

SQL: Select `Series`.* From `Series` where (url_segment = 'tubular') and (category_id =) and (status = 0) and (site_0_flag = 'Y' OR site_1_flag = 'Y') limit 1

Message: SQLSTATE[42000]: Syntax error or access violation: 1064 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 ') and (status = 0) and (site_0_flag = 'Y' OR site_1_flag = 'Y') limit 1' at line 1

Fatal error: Call to a member function fetchAll() on null in /var/www/clients/client3/web31/web/system/class/DList.class.php on line 11