A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'category_id' of non-object

Filename: controllers/news.php

Line Number: 116

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 ') AND `publish`='Y' AND '2024-03-29' BETWEEN `published_date` AND `publi' at line 1

SELECT * FROM `article` WHERE `category_id` IN () AND `publish`='Y' AND '2024-03-29' BETWEEN `published_date` AND `publish_until` ORDER BY `published_date` DESC, `article`.`ordering` ASC

Filename: /home3/ashrambd/public_html/models/article_model.php

Line Number: 256