A PHP Error was encountered

Severity: Notice

Message: Undefined index: news_id

Filename: controllers/news.php

Line Number: 89

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/elangmas/public_html/system/core/Exceptions.php:170)

Filename: core/Common.php

Line Number: 440

Database Error

A Database Error Occurred

Error Number: 1064

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 'ORDER BY `news_id` desc LIMIT 6' at line 6

SELECT * FROM (`news`) WHERE `flag` = 1 AND `news_start` <= '2019-11-18' AND `news_id` not like ORDER BY `news_id` desc LIMIT 6

Filename: /home/elangmas/public_html/controllers/news.php

Line Number: 89