A PHP Error was encountered

Severity: Notice

Message: Undefined property: Blog::$db

Filename: core/Model.php

Line Number: 77

Backtrace:

File: /home/digitalmediahub/public_html/application/modules/blog/models/Blog_model.php
Line: 22
Function: __get

File: /home/digitalmediahub/public_html/application/modules/blog/controllers/Blog.php
Line: 18
Function: getCategories

File: /home/digitalmediahub/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/digitalmediahub/public_html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 573

Backtrace:

An uncaught Exception was encountered

Type: Error

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

Filename: /home/digitalmediahub/public_html/application/modules/blog/models/Blog_model.php

Line Number: 22

Backtrace:

File: /home/digitalmediahub/public_html/application/modules/blog/controllers/Blog.php
Line: 18
Function: getCategories

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