Twig\Error\RuntimeError thrown

An exception has been thrown during the rendering of a template ("SQLSTATE[HY000] [1040] Too many connections (SQL: select * from `bp_blogs` where `blog_id` = 56 limit 1)").