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 325536 1. {main}() /var/www/public_html/index.php:0 0.0004 326592 2. require_once('/var/www/public_html/system/codeigniter/CodeIgniter.php') /var/www/public_html/index.php:114 0.0296 520744 3. call_user_func_array() /var/www/public_html/system/codeigniter/CodeIgniter.php:236 0.0296 520816 4. List_of_children->index() /var/www/public_html/system/codeigniter/CodeIgniter.php:0 0.0304 534760 5. Children_model->total_children() /var/www/public_html/system/application/controllers/list_of_children.php:38 0.0304 534760 6. Children_model->_get_filter() /var/www/public_html/system/application/models/children_model.php:391