Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[08004] [1040] Too many connections in drupal_is_denied() (line 1895 of /var/www/www-root/data/www/fostar.ru/includes/bootstrap.inc).

Additional

PDOException: SQLSTATE[08004] [1040] Too many connections in include_once() (line 173 of /var/www/www-root/data/www/fostar.ru/sites/all/themes/jootodru/template.php).