A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Products.php

Line Number: 41

Backtrace:

File: /var/www/tarbeeta.com/public_html/application/controllers/Products.php
Line: 41
Function: _error_handler

File: /var/www/tarbeeta.com/public_html/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Products.php

Line Number: 41

Backtrace:

File: /var/www/tarbeeta.com/public_html/application/controllers/Products.php
Line: 41
Function: _error_handler

File: /var/www/tarbeeta.com/public_html/index.php
Line: 316
Function: require_once