Unable to open a connection to the database. SQLSTATE[08004] [1040] Too many connections
Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/rooms/public_html/m/models/CityModel.php:143
Stack trace:
#0 /home/rooms/public_html/m/search_hotel_results.php(40): CityModel->getCityByKeyword('devin', '')
#1 /home/rooms/public_html/m/routing.php(27): require_once('/home/rooms/pub...')
#2 {main}
thrown in /home/rooms/public_html/m/models/CityModel.php on line 143