An uncaught Exception was encountered

Type: Error

Message: Call to a member function result_array() on boolean

Filename: /home/takhtiapp/public_html/application/models/Home_model.php

Line Number: 182

Backtrace:

File: /home/takhtiapp/public_html/application/controllers/Home_controller.php
Line: 79
Function: get_teacher_dis

File: /home/takhtiapp/public_html/index.php
Line: 316
Function: require_once