A PHP Error was encountered

Severity: Notice

Message: Undefined property: Children_model::$db

Filename: models/children_model.php

Line Number: 374

Fatal error: Call to a member function join() on a non-object in /var/www/public_html/system/application/models/children_model.php on line 375 Call Stack: 0.0001 325680 1. {main}() /var/www/public_html/index.php:0 0.0003 326736 2. require_once('/var/www/public_html/system/codeigniter/CodeIgniter.php') /var/www/public_html/index.php:114 0.0294 521192 3. call_user_func_array() /var/www/public_html/system/codeigniter/CodeIgniter.php:236 0.0294 521264 4. List_of_children->index() /var/www/public_html/system/codeigniter/CodeIgniter.php:0 0.0302 535164 5. Children_model->total_children() /var/www/public_html/system/application/controllers/list_of_children.php:38 0.0302 535164 6. Children_model->_get_filter() /var/www/public_html/system/application/models/children_model.php:391