A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'id' of non-object

Filename: models/Category_model.php

Line Number: 11

Backtrace:

File: /home/myvillagemart/public_html/application/models/Category_model.php
Line: 11
Function: _error_handler

File: /home/myvillagemart/public_html/application/controllers/Categories.php
Line: 16
Function: veg_fruits

File: /home/myvillagemart/public_html/index.php
Line: 315
Function: require_once

My Village Bazaar