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

Fatal error: Uncaught Error: Call to a member function prepare() on null in /var/www/openhouseestate.com/application/models/home.php:15 Stack trace: #0 /var/www/openhouseestate.com/application/controllers/home.php(10): home_model->cities(Array) #1 /var/www/openhouseestate.com/public/index.php(49): Home->index() #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/home.php on line 15