A PHP Error was encountered

Severity: Notice

Message: Undefined variable: query

Filename: models/Mdl_home.php

Line Number: 445

Backtrace:

File: /var/www/vhosts/dasco.com.kw/application/models/Mdl_home.php
Line: 445
Function: _error_handler

File: /var/www/vhosts/dasco.com.kw/application/controllers/Ar.php
Line: 66
Function: getMenu

File: /var/www/vhosts/dasco.com.kw/index.php
Line: 315
Function: require_once

An uncaught Exception was encountered

Type: Error

Message: Call to a member function num_rows() on null

Filename: /var/www/vhosts/dasco.com.kw/application/models/Mdl_home.php

Line Number: 445

Backtrace:

File: /var/www/vhosts/dasco.com.kw/application/controllers/Ar.php
Line: 66
Function: getMenu

File: /var/www/vhosts/dasco.com.kw/index.php
Line: 315
Function: require_once