ERROR: SQLSTATE[HY000] [2002] Connection refused
Notice: Undefined property: properties_model::$db in /var/www/openhouseestate.com/application/models/properties.php on line 172
Fatal error: Uncaught Error: Call to a member function prepare() on null in /var/www/openhouseestate.com/application/models/properties.php:172
Stack trace:
#0 /var/www/openhouseestate.com/application/controllers/properties.php(129): properties_model->property(Array)
#1 /var/www/openhouseestate.com/public/index.php(68): Properties->view()
#2 /var/www/openhouseestate.com/library/Router.php(131): {closure}('W4336808')
#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 172