ERROR: SQLSTATE[HY000] [2002] Connection refused
Notice: Undefined property: properties_model::$db in /var/www/openhouseestate.com/application/models/properties.php on line 22
Fatal error: Uncaught Error: Call to a member function prepare() on null in /var/www/openhouseestate.com/application/models/properties.php:22
Stack trace:
#0 /var/www/openhouseestate.com/application/controllers/properties.php(13): properties_model->residential(Array)
#1 /var/www/openhouseestate.com/public/index.php(59): Properties->index()
#2 /var/www/openhouseestate.com/library/Router.php(131): {closure}()
#3 /var/www/openhouseestate.com/public/index.php(350): Router::dispatch()
#4 {main}
thrown in /var/www/openhouseestate.com/application/models/properties.php on line 22