A PHP Error was encountered

Severity: Notice

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

Filename: controllers/cart.php

Line Number: 677


Fatal error: Uncaught Error: Call to a member function result() on bool in /home/stellasp/public_html/application/models/category_model.php:19 Stack trace: #0 /home/stellasp/public_html/application/controllers/cart.php(677): Category_model->get_categories(NULL) #1 /home/stellasp/public_html/system/core/CodeIgniter.php(359): Cart->category('42') #2 /home/stellasp/public_html/index.php(279): require_once('/home/stellasp/...') #3 {main} thrown in /home/stellasp/public_html/application/models/category_model.php on line 19