user warning: 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 ')
ORDER BY node_title ASC' at line 12
query: SELECT node.nid AS nid,
node_revisions.body AS node_revisions_body,
node_revisions.format AS node_revisions_format,
node_data_field_sub_number.field_sub_number_value AS node_data_field_sub_number_field_sub_number_value,
node.type AS node_type,
node.vid AS node_vid,
node.title AS node_title
FROM node node
LEFT JOIN content_type_quran_subject node_data_field_sub_parent ON node.vid = node_data_field_sub_parent.vid
LEFT JOIN content_field_sub_number node_data_field_sub_number ON node.vid = node_data_field_sub_number.vid
LEFT JOIN node_revisions node_revisions ON node.vid = node_revisions.vid
WHERE (node.type in ('quran_subject')) AND (node_data_field_sub_number.field_sub_number_value = )
ORDER BY node_title ASC in /var/www/www.alim.org/sites/all/modules/quran_subject/quran_subject.module on line 684.