Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[08004] [1040] Too many connections' in /var/www/theasianbanker.com/html/flexiphp/lib/redbean/rb.php:1337
Stack trace:
#0 /var/www/theasianbanker.com/html/flexiphp/lib/redbean/rb.php(1337): PDO->__construct('mysql:host=loca...', 'root', 'TAB@DBRooT@b@20...', Array)
#1 /var/www/theasianbanker.com/html/flexiphp/base/Flexi/objectclass/FlexiModelUtil.php(198): RedBean_Driver_PDO->__construct('mysql:host=loca...', 'root', 'TAB@DBRooT@b@20...')
#2 /var/www/theasianbanker.com/html/flexiphp/base/Flexi/objectclass/FlexiModelUtil.php(221): FlexiModelUtil->getRedBeanToolbox()
#3 /var/www/theasianbanker.com/html/flexiphp/base/Flexi/objectclass/FlexiModelUtil.php(86): FlexiModelUtil->getRedBeanDB()
#4 /var/www/theasianbanker.com/html/modx_header.php(52): FlexiModelUtil->setRedBeanEvent(Object(FlexiRedBeanEvent))
#5 /var/www/theasianbanker.com/html/core/cache/includes/elements/modplugin/3.include.cache.php(2): require_once('/var/www/theasi...')
#6 /var/www/theasianbanker.com/html/core/model/modx/modscript.class.php(70): include('/var/www/theasi...')
#7 /var/www/theasianbanker.com/html/core/model/modx/modx.class.php(1608): modScript->process(Array)
#8 /var/www/theasianbanker.com/html/core/model/modx/modrequest.class.php(132): modX->invokeEvent('OnLoadWebDocume...')
#9 /var/www/theasianbanker.com/html/core/model/modx/modrequest.class.php(121): modRequest->prepareResponse()
#10 /var/www/theasianbanker.com/html/core/model/modx/modx.class.php(1399): modRequest->handleRequest()
#11 /var/www/theasianbanker.com/html/index.php(322): modX->handleRequest()
#12 {main}
thrown in /var/www/theasianbanker.com/html/flexiphp/lib/redbean/rb.php on line 1337