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

Fatal error: Uncaught Error: Call to a member function prepare() on null in /var/www/openhouseestate.com/application/models/properties.php:97 Stack trace: #0 /var/www/openhouseestate.com/application/controllers/properties.php(189): properties_model->properties(Array) #1 /var/www/openhouseestate.com/public/index.php(88): Properties->add() #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 97