Notice: Undefined variable: id in /home/acvietnam/domains/ on line 9

Fatal error: Uncaught exception 'DatabaseConnException' with message 'Database Connection Exception: An error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 occurred when executing SELECT * FROM `danaweb_article` WHERE `is_active` = 1 AND `article_id` =.' in /home/acvietnam/domains/ Stack trace: #0 /home/acvietnam/domains/ DatabaseConnect->query('SELECT * FROM `...') #1 /home/acvietnam/domains/ ActiveRecord->select() #2 /home/acvietnam/domains/ include('/home/acvietnam...') #3 /home/acvietnam/domains/ include('/home/acvietnam...') #4 /home/acvietnam/domains/ include('/home/acvietnam... in /home/acvietnam/domains/ on line 56