A PHP Error was encountered

Severity: Notice

Message: Undefined variable: query

Filename: models/Mdl_home.php

Line Number: 332

Backtrace:

File: /home/customer/www/idrak-kw.com/public_html/application/models/Mdl_home.php
Line: 332
Function: _error_handler

File: /home/customer/www/idrak-kw.com/public_html/application/controllers/Home.php
Line: 85
Function: getMenu

File: /home/customer/www/idrak-kw.com/public_html/index.php
Line: 315
Function: require_once


Fatal error: Call to a member function num_rows() on null in /home/customer/www/idrak-kw.com/public_html/application/models/Mdl_home.php on line 332