A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/Materials_categories_model.php

Line Number: 40

Backtrace:

File: /home/artgranit/public_html/application/models/Materials_categories_model.php
Line: 40
Function: _error_handler

File: /home/artgranit/public_html/application/controllers/frontend/Materials.php
Line: 66
Function: get_childs

File: /home/artgranit/public_html/index.php
Line: 288
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: helpers/url_helper.php

Line Number: 507

Backtrace:

File: /home/artgranit/public_html/application/controllers/frontend/Materials.php
Line: 68
Function: redirect

File: /home/artgranit/public_html/index.php
Line: 288
Function: require_once