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

Fatal error: Uncaught Error: Call to a member function prepare() on null in /var/www/openhouseestate.com/application/models/search.php:20 Stack trace: #0 /var/www/openhouseestate.com/application/controllers/search.php(93): search_model->cities(Array) #1 /var/www/openhouseestate.com/public/index.php(145): Search->cities() #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/search.php on line 20