Fatal error: Uncaught exception 'Exception' with message 'Error: 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 date_add = '2018-12-10'' at line 3<br />Error No: 1064<br />SELECT count(*) as count_t FROM oc_discall_friend WHERE customer_id = AND date_add = '2018-12-10'' in /var/www/html/system/library/db/mysqli.php:40 Stack trace: #0 /var/www/html/system/library/db.php(16): DB\MySQLi->query('SELECT count(*)...', Array) #1 /var/www/html/catalog/model/catalog/tell.php(15): DB->query('SELECT count(*)...') #2 [internal function]: ModelCatalogTell->getCountFriendIvent(NULL, '2018-12-10') #3 /var/www/html/system/engine/loader.php(178): call_user_func_array(Array, Array) #4 [internal function]: Loader->{closure}(Array, Array) #5 /var/www/html/system/engine/proxy.php(25): call_user_func_array(Object(Closure), Array) #6 /var/www/html/catalog/controller/myinformation/tell.php(21): Proxy->__call('getCoun in /var/www/html/system/library/db/mysqli.php on line 40