A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/press_and_news.php

Line Number: 99

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 437

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 `status` = 1 ORDER BY `id` ASC LIMIT 1' at line 4

SELECT `slug` FROM (`blogs`) WHERE `id` > AND `status` = 1 ORDER BY `id` ASC LIMIT 1

Filename: /home/devres/public_html/modules/adminblog/models/datamodel.php

Line Number: 569