Fatal error: Uncaught exception 'Exception' with message 'Error: Unknown column 'n.date_available' in 'where clause'<br />Error No: 1054<br />SELECT DISTINCT *, nd.name AS name, n.image, (SELECT COUNT(*) AS total FROM oc_comment r2 WHERE r2.news_id = n.news_id AND r2.status = '1' GROUP BY r2.news_id) AS comments, n.sort_order FROM oc_news n INNER JOIN oc_news_description nd ON (n.news_id = nd.news_id) LEFT JOIN oc_news_to_store n2s ON (n.news_id = n2s.news_id) WHERE nd.language_id='1' AND n.status = '1' AND n2s.store_id = '0' AND n.date_available <= NOW()' in /home/c01122020/public_html/kimtuongad.com/system/library/db/mysqli.php:0
Stack trace:
#0 /home/c01122020/public_html/kimtuongad.com/system/library/db.php(0): DB\MySQLi->query('SELECT DISTINCT...', Array)
#1 /home/c01122020/public_html/kimtuongad.com/catalog/model/news/news.php(14): DB->query('SELECT DISTINCT...')
#2 [internal function]: ModelNewsNews->getNewsSitemap('1')
#3 /home/c01122020/public_html/kimtuongad.com/system/engine/loader.php(0): call_user_func_array( in /home/c01122020/public_html/kimtuongad.com/system/library/db/mysqli.php on line 0