A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/f_newsmodel.php

Line Number: 17

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: views/news_bycategory.php

Line Number: 14