Fatal error: Uncaught exception 'mysqli_sql_exception' with message Too many connections
Stack trace:
#0 /var/www/html/httpdocs/forum_legacy/Sources/Subs-Db-mysqli.php(67): mysqli_connect()
#1 /var/www/html/smf_2_api.php(2452): smf_db_initiate()
#2 /var/www/html/smf_2_api.php(728): smfapi_loadDatabase()
#3 /var/www/html/bootstrap.php(19): include_once('...')
#4 /var/www/html/httpdocs/index.php(12): include_once('...')
#5 {main}
$_SERVER
Array
(
[REDIRECT_STATUS] => 200
[HTTP_X_FORWARDED_PROTO] => https
[HTTP_X_FORWARDED_PORT] => 443
[HTTP_HOST] => stage.shmax.com
[HTTP_X_AMZN_TRACE_ID] => Root=1-684b9896-68d50cdf106217cd3e44f55d
[HTTP_ACCEPT] => */*
[HTTP_USER_AGENT] => Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
[HTTP_ACCEPT_ENCODING] => gzip, br, zstd, deflate
[PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[SERVER_SIGNATURE] => Apache/2.4.59 (Unix) Server at stage.shmax.com Port 80
[SERVER_SOFTWARE] => Apache/2.4.59 (Unix)
[SERVER_NAME] => stage.shmax.com
[SERVER_ADDR] => 10.192.21.34
[SERVER_PORT] => 80
[REMOTE_ADDR] => 216.73.216.114
[DOCUMENT_ROOT] => /var/www/html/httpdocs
[REQUEST_SCHEME] => http
[CONTEXT_PREFIX] =>
[CONTEXT_DOCUMENT_ROOT] => /var/www/html/httpdocs
[SERVER_ADMIN] => support@shmax.com
[SCRIPT_FILENAME] => /var/www/html/httpdocs/index.php
[REMOTE_PORT] => 7262
[REDIRECT_URL] => /part_details/73587/special-optics
[REDIRECT_QUERY_STRING] => page=part_details&id=73587
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => GET
[QUERY_STRING] => page=part_details&id=73587
[REQUEST_URI] => /part_details/73587/special-optics
[SCRIPT_NAME] => /index.php
[PHP_SELF] => /index.php
[REQUEST_TIME_FLOAT] => 1749784726.9347
[REQUEST_TIME] => 1749784726
)
thrown in /var/www/html/httpdocs/forum_legacy/Sources/Subs-Db-mysqli.php on line 67
Fatal error: Uncaught WarningException: Trying to access array offset on value of type null in /var/www/html/shmax/Login.php:109
Stack trace:
#0 /var/www/html/shmax/Login.php(109): myErrorHandler()
#1 /var/www/html/shmax/ErrorHandler.php(46): shmax\Login::getLoggedUser()
#2 /var/www/html/includes/util/config.php(103): shmax\ErrorHandler::handleError()
#3 [internal function]: {closure}()
#4 {main}
thrown in /var/www/html/shmax/Login.php on line 109