A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/Products_model.php

Line Number: 1138

Backtrace:

File: /home/ledwor5/public_html/application/modules/products/models/Products_model.php
Line: 1138
Function: _error_handler

File: /home/ledwor5/public_html/application/modules/products/controllers/Products.php
Line: 81
Function: getProductCategories

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

Filename: helpers/url_helper.php

Line Number: 564

Backtrace:

File: /home/ledwor5/public_html/application/modules/products/controllers/Products.php
Line: 86
Function: redirect

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