A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Posts.php

Line Number: 21

Backtrace:

File: /raid/vhost/cp64548/public_html/application/controllers/Posts.php
Line: 21
Function: _error_handler

File: /raid/vhost/cp64548/public_html/application/libraries/REST_Controller.php
Line: 654
Function: call_user_func_array

File: /raid/vhost/cp64548/public_html/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 /raid/vhost/cp64548/public_html/vendor/codeigniter/framework/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /raid/vhost/cp64548/public_html/application/controllers/Posts.php
Line: 22
Function: show_404

File: /raid/vhost/cp64548/public_html/application/libraries/REST_Controller.php
Line: 654
Function: call_user_func_array

File: /raid/vhost/cp64548/public_html/index.php
Line: 315
Function: require_once

404 Page Not Found

404 Page Not Found

The page you requested was not found.