SQL ERROR:



SQL: Select `Dealer`.* From `Dealer` where (status=1) and (dealer_id=)



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 ')' at line 1


Fatal error: Call to a member function fetchAll() on null in /home/vhosts/www.montbell.com.hk/public_html/cms/system/2.11.15.0114/class/DList.class.php on line 21