A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/News.php

Line Number: 239

Backtrace:

File: /data/home/byu7429870001/htdocs/application/controllers/News.php
Line: 239
Function: _error_handler

File: /data/home/byu7429870001/htdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /data/home/byu7429870001/htdocs/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /data/home/byu7429870001/htdocs/application/controllers/News.php
Line: 240
Function: query

File: /data/home/byu7429870001/htdocs/index.php
Line: 315
Function: require_once

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 article_id asc limit 0,1' at line 1

select * from le_article WHERE article_id >508 and channel_id= order by article_id asc limit 0,1

Filename: controllers/News.php

Line Number: 240