An uncaught Exception was encountered

Type: Error

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

Filename: /home/egyptrealtor/public_html/application/models/Web_m.php

Line Number: 2219

Backtrace:

File: /home/egyptrealtor/public_html/application/controllers/Web.php
Line: 666
Function: get_num_views

File: /home/egyptrealtor/public_html/index.php
Line: 633
Function: require_once