A PHP Error was encountered

Severity: Notice

Message: Undefined property: Media::$media_model

Filename: controllers/Media.php

Line Number: 34

Backtrace:

File: /home/theunit5/public_html/application/controllers/Media.php
Line: 34
Function: _error_handler

File: /home/theunit5/public_html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 568

Backtrace:

An uncaught Exception was encountered

Type: Error

Message: Call to a member function get_media_cat() on null

Filename: /home/theunit5/public_html/application/controllers/Media.php

Line Number: 34

Backtrace:

File: /home/theunit5/public_html/index.php
Line: 316
Function: require_once