Fatal error: Uncaught mysqli_sql_exception: 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 in /home/panairi/public_html/synergyframe/config/inc/appmain.inc:177
Stack trace:
#0 /home/panairi/public_html/synergyframe/config/inc/appmain.inc(177): mysqli_query(Object(mysqli), 'select m.*,c.mo...')
#1 /home/panairi/public_html/synergyframe/config/classes/article.inc(48): db_get_all('select m.*,c.mo...')
#2 /home/panairi/public_html/index.html(129): CArticle->getListById(NULL)
#3 {main}
thrown in /home/panairi/public_html/synergyframe/config/inc/appmain.inc on line 177