An uncaught Exception was encountered

Type: Error

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

Filename: /home/yugmedeal/public_html/application/models/Index_info.php

Line Number: 1227

Backtrace:

File: /home/yugmedeal/public_html/application/controllers/Category.php
Line: 251
Function: product_index_list_count

File: /home/yugmedeal/public_html/index.php
Line: 274
Function: require_once