ActiveRecord\DatabaseException Object ( [message:protected] => PDOException: SQLSTATE[08004] [1040] Too many connections in /home2/virt/lzkosz.finteractive.pl/includes/lib/Connection.php:239 Stack trace: #0 /home2/virt/lzkosz.finteractive.pl/includes/lib/Connection.php(239): PDO->__construct('mysql:host=loca...', 'lzkoszcompl', 'ZCnznxwVwBaqKnd...', Array) #1 /home2/virt/lzkosz.finteractive.pl/includes/lib/Connection.php(101): ActiveRecord\Connection->__construct(Object(stdClass)) #2 /home2/virt/lzkosz.finteractive.pl/includes/lib/ConnectionManager.php(33): ActiveRecord\Connection::instance('mysql://lzkoszc...') #3 /home2/virt/lzkosz.finteractive.pl/includes/lib/Table.php(103): ActiveRecord\ConnectionManager::get_connection('production') #4 /home2/virt/lzkosz.finteractive.pl/includes/lib/Table.php(80): ActiveRecord\Table->reestablish_connection(false) #5 /home2/virt/lzkosz.finteractive.pl/includes/lib/Table.php(61): ActiveRecord\Table->__construct('mNews') #6 /home2/virt/lzkosz.finteractive.pl/includes/lib/Model.php(744): ActiveRecord\Table::load('mNews') #7 /home2/virt/lzkosz.finteractive.pl/includes/lib/Model.php(722): ActiveRecord\Model::table() #8 /home2/virt/lzkosz.finteractive.pl/includes/dbmodels/mNews.php(317): ActiveRecord\Model::connection() #9 /home2/virt/lzkosz.finteractive.pl/classes/strona/cNews.php(324): mNews::fetch(Array, 0, 20) #10 /home2/virt/lzkosz.finteractive.pl/classes/strona/cNews.php(418): cNews::getNews(Array) #11 /home2/virt/lzkosz.finteractive.pl/classes/strona/cNews.php(554): cNews->przetworz_n() #12 /home2/virt/lzkosz.finteractive.pl/classes/strona/cNews.php(573): cNews->generateContent(Array) #13 /home2/virt/lzkosz.finteractive.pl/classes/cAplikacjaStrona.php(176): cNews::generatePageContent(Array, Array) #14 /home2/virt/lzkosz.finteractive.pl/classes/cAplikacjaStrona.php(222): cAplikacjaStrona->przetworzDomyslne('aktualnosci') #15 /home2/virt/lzkosz.finteractive.pl/classes/cMenedzerAplikacji.php(284): cAplikacjaStrona->generatePage() #16 /home2/virt/lzkosz.finteractive.pl/classes/cMenedzerAplikacji.php(35): cMenedzerAplikacji->wykonaj() #17 /home2/virt/lzkosz.finteractive.pl/apps/strona/index.php(54): cMenedzerAplikacji::start('strona', 'prod') #18 {main} [string:Exception:private] => [code:protected] => 0 [file:protected] => /home2/virt/lzkosz.finteractive.pl/includes/lib/Connection.php [line:protected] => 241 [trace:Exception:private] => Array ( [0] => Array ( [file] => /home2/virt/lzkosz.finteractive.pl/includes/lib/Connection.php [line] => 101 [function] => __construct [class] => ActiveRecord\Connection [type] => -> [args] => Array ( [0] => stdClass Object ( [protocol] => mysql [host] => localhost [db] => lzkoszcompl;charset=utf8 [user] => lzkoszcompl [pass] => ZCnznxwVwBaqKndj ) ) ) [1] => Array ( [file] => /home2/virt/lzkosz.finteractive.pl/includes/lib/ConnectionManager.php [line] => 33 [function] => instance [class] => ActiveRecord\Connection [type] => :: [args] => Array ( [0] => mysql://lzkoszcompl:ZCnznxwVwBaqKndj@localhost/lzkoszcompl;charset=utf8 ) ) [2] => Array ( [file] => /home2/virt/lzkosz.finteractive.pl/includes/lib/Table.php [line] => 103 [function] => get_connection [class] => ActiveRecord\ConnectionManager [type] => :: [args] => Array ( [0] => production ) ) [3] => Array ( [file] => /home2/virt/lzkosz.finteractive.pl/includes/lib/Table.php [line] => 80 [function] => reestablish_connection [class] => ActiveRecord\Table [type] => -> [args] => Array ( [0] => ) ) [4] => Array ( [file] => /home2/virt/lzkosz.finteractive.pl/includes/lib/Table.php [line] => 61 [function] => __construct [class] => ActiveRecord\Table [type] => -> [args] => Array ( [0] => mNews ) ) [5] => Array ( [file] => /home2/virt/lzkosz.finteractive.pl/includes/lib/Model.php [line] => 744 [function] => load [class] => ActiveRecord\Table [type] => :: [args] => Array ( [0] => mNews ) ) [6] => Array ( [file] => /home2/virt/lzkosz.finteractive.pl/includes/lib/Model.php [line] => 722 [function] => table [class] => ActiveRecord\Model [type] => :: [args] => Array ( ) ) [7] => Array ( [file] => /home2/virt/lzkosz.finteractive.pl/includes/dbmodels/mNews.php [line] => 317 [function] => connection [class] => ActiveRecord\Model [type] => :: [args] => Array ( ) ) [8] => Array ( [file] => /home2/virt/lzkosz.finteractive.pl/classes/strona/cNews.php [line] => 324 [function] => fetch [class] => mNews [type] => :: [args] => Array ( [0] => Array ( [cond] => Array ( [news] => Array ( [status] => 1 [dodane] => Array ( [0] => 1716244082 [1] => < ) [id] => 186 ) ) [order] => dodane desc ) [1] => 0 [2] => 20 ) ) [9] => Array ( [file] => /home2/virt/lzkosz.finteractive.pl/classes/strona/cNews.php [line] => 418 [function] => getNews [class] => cNews [type] => :: [args] => Array ( [0] => Array ( [id] => 186 ) ) ) [10] => Array ( [file] => /home2/virt/lzkosz.finteractive.pl/classes/strona/cNews.php [line] => 554 [function] => przetworz_n [class] => cNews [type] => -> [args] => Array ( ) ) [11] => Array ( [file] => /home2/virt/lzkosz.finteractive.pl/classes/strona/cNews.php [line] => 573 [function] => generateContent [class] => cNews [type] => -> [args] => Array ( [0] => Array ( ) ) ) [12] => Array ( [file] => /home2/virt/lzkosz.finteractive.pl/classes/cAplikacjaStrona.php [line] => 176 [function] => generatePageContent [class] => cNews [type] => :: [args] => Array ( [0] => Array ( [0] => aktualnosci [1] => n [2] => 186 [3] => zasady-wspierania-rozgrywek-18-edycji-pucharu-nadziei-olimpijskich-w-kategoriach-mlodziezowych-sezon-2022-2023-rok-2023 ) [1] => Array ( ) ) ) [13] => Array ( [file] => /home2/virt/lzkosz.finteractive.pl/classes/cAplikacjaStrona.php [line] => 222 [function] => przetworzDomyslne [class] => cAplikacjaStrona [type] => -> [args] => Array ( [0] => aktualnosci ) ) [14] => Array ( [file] => /home2/virt/lzkosz.finteractive.pl/classes/cMenedzerAplikacji.php [line] => 284 [function] => generatePage [class] => cAplikacjaStrona [type] => -> [args] => Array ( ) ) [15] => Array ( [file] => /home2/virt/lzkosz.finteractive.pl/classes/cMenedzerAplikacji.php [line] => 35 [function] => wykonaj [class] => cMenedzerAplikacji [type] => -> [args] => Array ( ) ) [16] => Array ( [file] => /home2/virt/lzkosz.finteractive.pl/apps/strona/index.php [line] => 54 [function] => start [class] => cMenedzerAplikacji [type] => :: [args] => Array ( [0] => strona [1] => prod ) ) ) [previous:Exception:private] => )