ERROR: SQLSTATE[HY000] [2002] Connection refused
Notice: Undefined property: properties_model::$db in /var/www/openhouseestate.com/application/models/properties.php on line 144

Fatal error: Uncaught Error: Call to a member function prepare() on null in /var/www/openhouseestate.com/application/models/properties.php:144 Stack trace: #0 /var/www/openhouseestate.com/application/controllers/properties.php(67): properties_model->featured(Array) #1 /var/www/openhouseestate.com/public/index.php(78): Properties->featured() #2 /var/www/openhouseestate.com/library/Router.php(131): {closure}() #3 /var/www/openhouseestate.com/public/index.php(296): Router::dispatch() #4 {main} thrown in /var/www/openhouseestate.com/application/models/properties.php on line 144