XF 2.1 ErrorException: Fatal Error: Uncaught exception

vinnymickey

Active member
Only recent change was I Upgraded to PHP 7.0 last week and noticed this error just now from Mar 7, 2019 at 11:15 PM . Any Idea why? What? Do I need to fix something? Hard to track this down in any searches :)



ErrorException: Fatal Error: Uncaught exception 'XF\Db\Exception' with message 'Too many connections' in /home/xxx/public_html/community/src/XF/Db/Mysqli/Adapter.php:160 Stack trace: #0 /home/xxx/public_html/community/src/XF/Db/Mysqli/Adapter.php(28): XF\Db\Mysqli\Adapter->makeConnection(Array) #1 /home/xxx/public_html/community/src/XF/Db/AbstractAdapter.php(51): XF\Db\Mysqli\Adapter->getConnection() #2 /home/xxx/public_html/community/src/XF/Db/Mysqli/Adapter.php(113): XF\Db\AbstractAdapter->connect() #3 /home/xxx/public_html/community/src/XF/Db/AbstractAdapter.php(410): XF\Db\Mysqli\Adapter->escapeString('options') #4 /home/xxx/public_html/community/src/XF/Db/AbstractAdapter.php(388): XF\Db\AbstractAdapter->quote('options') #5 /home/xxx/public_html/community/src/XF/DataRegistry.php(137): XF\Db\AbstractAdapter->quote(Array) #6 /home/xxx/public_html/community/src/XF/DataRegistry.php(82): XF\DataRegistry->readFromDb(Array, Array) #7 /home/xxx/public_html/community/src/XF/DataRegistry.php(225): X src/XF/Db/Mysqli/Adapter.php:160

Generated by: Unknown account Mar 7, 2019 at 11:15 PM

Stack trace

#0 [internal function]: XF::handleFatalError()
#1 {main}

Request state

array(4) {
["url"] => string(194) "/community/css.php?css=public%3Anormalize.css%2Cpublic%3Acore.less%2Cpublic%3Aapp.less%2Cpublic%3Afont_awesome.css&s=1&l=1&d=1542904763&k=64e974a22f7223493e6779b0537c7aafe7830c3e"
["referrer"] => bool(false)
["_GET"] => array(5) {
["css"] => string(77) "public:normalize.css,public:core.less,public:app.less,public:font_awesome.css"
["amp;s"] => string(1) "1"
["amp;l"] => string(1) "1"
["amp;d"] => string(10) "1542904763"
["amp;k"] => string(40) "64e974a22f7223493e6779b0537c7aafe7830c3e"
}
["_POST"] => array(0) {
}
}
 
Last edited:
If the error only happened once then it can be ignored.

Essentially it's a server limitation -- Too many connections -- so if it happens again/frequently, contact your host.
 
If the error only happened once then it can be ignored.

Essentially it's a server limitation -- Too many connections -- so if it happens again/frequently, contact your host.


I was thinking it has to do with MySQL servers limit setting. Well from my research so far :) TY for your input...
 
Top Bottom