A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/blog.php

Line Number: 115


Fatal error: Uncaught Error: Call to a member function num_rows() on boolean in /var/www/html/application/models/main_model.php:1355 Stack trace: #0 /var/www/html/application/controllers/blog.php(115): main_model->getSimilarBlogs(NULL, ''+(') #1 /var/www/html/system/core/CodeIgniter.php(297): Blog->blog_detail('') #2 /var/www/html/index.php(141): require_once('/var/www/html/s...') #3 {main} thrown in /var/www/html/application/models/main_model.php on line 1355