A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: views/news.php

Line Number: 27

A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: views/news.php

Line Number: 27