Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/article.php
Line Number: 446
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/article.php
Line Number: 474
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/article.php
Line Number: 489
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/article.php
Line Number: 491
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/article.php
Line Number: 491
Error Number: 1064
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 'AND `article`.`article_status` = '1' AND `articledetail`.`active` = 1 GROUP BY' at line 7
SELECT `articledetail`.*, `article`.`id`, `articleterm`.`term_id`, `article`.`folder`, `article`.`article_type`, `article`.`date_create`, `article`.`photo`, `article`.`thumb` FROM (`article`) JOIN `articledetail` ON `articledetail`.`article_id`=`article`.`id` LEFT JOIN `articleterm` ON `articleterm`.`article_id`=`article`.`id` WHERE `article`.`category_id` IS NULL AND `article`.`id` != AND `article`.`article_status` = '1' AND `articledetail`.`active` = 1 GROUP BY `article`.`id` ORDER BY `article`.`id` DESC LIMIT 6
Filename: /home/dlysvn/domains/dailyyensao.vn/public_html/modules/article/models/a_article.php
Line Number: 118