mysqli_sql_exception

HTTP 500 Whoops, looks like something went wrong.

User 'gkk53642' has exceeded the 'max_user_connections' resource (current value: 5)

Exception

mysqli_sql_exception

Show exception properties
mysqli_sql_exception {#2619
  #sqlstate: "HY000"
}
  1.             );
  2.         }
  3.         // Attempt to connect to the server, use error suppression to silence warnings and allow us to throw an Exception separately.
  4.         $connected = @$this->connection->real_connect(
  5.             $this->options['host'],
  6.             $this->options['user'],
  7.             $this->options['password'],
  8.             null,
  9.             $this->options['port'],
  10.             $this->options['socket'],
  1.             );
  2.         }
  3.         // Attempt to connect to the server, use error suppression to silence warnings and allow us to throw an Exception separately.
  4.         $connected = @$this->connection->real_connect(
  5.             $this->options['host'],
  6.             $this->options['user'],
  7.             $this->options['password'],
  8.             null,
  9.             $this->options['port'],
  10.             $this->options['socket'],
  1.      *
  2.      * @since   1.0
  3.      */
  4.     public function getVersion()
  5.     {
  6.         $this->connect();
  7.         if ($this->mariadb) {
  8.             // MariaDB: Strip off any leading '5.5.5-', if present
  9.             return preg_replace('/^5\.5\.5-/'''$this->connection->server_info);
  10.         }
  1.         $db $this->getDatabase();
  2.         $this->info = [
  3.             'php'                    => php_uname(),
  4.             'dbserver'               => $db->getServerType(),
  5.             'dbversion'              => $db->getVersion(),
  6.             'dbcollation'            => $db->getCollation(),
  7.             'dbconnectioncollation'  => $db->getConnectionCollation(),
  8.             'dbconnectionencryption' => $db->getConnectionEncryption(),
  9.             'dbconnencryptsupported' => $db->isConnectionEncryptionSupported(),
  10.             'phpversion'             => PHP_VERSION,
  1.             'joomlaVersion' => JVERSION,
  2.             'requestId'     => $this->requestId,
  3.             'identity'      => $this->getIdentityInfo($application->getIdentity()),
  4.             'response'      => $this->getResponseInfo($application->getResponse()),
  5.             'template'      => $this->getTemplateInfo($application->getTemplate(true)),
  6.             'database'      => $this->getDatabaseInfo($model->getInfo()),
  7.         ];
  8.     }
  9.     /**
  10.      * Get Identity info.
  1.                 $request_variables
  2.             )
  3.         );
  4.         foreach ($this->collectors as $name => $collector) {
  5.             $this->data[$name] = $collector->collect();
  6.         }
  7.         // Remove all invalid (non UTF-8) characters
  8.         array_walk_recursive($this->data, function (&$item) {
  9.                 if (is_string($item) && !mb_check_encoding($item'UTF-8')) {
  1.      * @return array
  2.      */
  3.     public function getData()
  4.     {
  5.         if ($this->data === null) {
  6.             $this->collect();
  7.         }
  8.         return $this->data;
  9.     }
  10.     /**
  1.                 $js .= $this->getAddDatasetCode($id$data'(stacked)');
  2.             }
  3.         }
  4.         $suffix = !$initialize '(ajax)' null;
  5.         $js .= $this->getAddDatasetCode($this->debugBar->getCurrentRequestId(), $this->debugBar->getData(), $suffix);
  6.         $nonce '';
  7.         if ($doc->cspNonce) {
  8.             $nonce ' nonce="' $doc->cspNonce '"';
  1.             echo $contents;
  2.             return;
  3.         }
  4.         echo str_replace('</body>'$debugBarRenderer->renderHead() . $debugBarRenderer->render() . '</body>'$contents);
  5.     }
  6.     /**
  7.      * AJAX handler
  8.      *
  1.             foreach ($this->listeners[$event->getName()] as $listener) {
  2.                 if ($event->isStopped()) {
  3.                     return $event;
  4.                 }
  5.                 $listener($event);
  6.             }
  7.         }
  8.         return $event;
  9.     }
  1.             $dispatcher $this->getDispatcher();
  2.         } catch (\UnexpectedValueException $exception) {
  3.             return null;
  4.         }
  5.         return $dispatcher->dispatch($eventName$event ?: new ApplicationEvent($eventName$this));
  6.     }
  7.     /**
  8.      * Method to run the application routines.
  9.      *
AbstractApplication->dispatchEvent('onAfterRespond', object(AfterRespondEvent)) in /home/users6/g/gkk5364/www/sautronastronomie.fr/joomla/libraries/src/Application/CMSApplication.php (line 351)
  1.         $this->respond();
  2.         // Trigger the onAfterRespond event.
  3.         $this->dispatchEvent(
  4.             'onAfterRespond',
  5.             new AfterRespondEvent('onAfterRespond', ['subject' => $this])
  6.         );
  7.     }
  8.     /**
  9.      * Check if the user is required to reset their password.
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/home/users6/g/gkk5364/www/sautronastronomie.fr/joomla/includes/app.php') in /home/users6/g/gkk5364/www/sautronastronomie.fr/joomla/index.php (line 32)
  1.  * define() is used rather than "const" to not error for PHP 5.2 and lower
  2.  */
  3. define('_JEXEC'1);
  4. // Run the application - All executable code should be triggered through this file
  5. require_once dirname(__FILE__) . '/includes/app.php';

Stack Trace

mysqli_sql_exception
mysqli_sql_exception:
User 'gkk53642' has exceeded the 'max_user_connections' resource (current value: 5)

  at /home/users6/g/gkk5364/www/sautronastronomie.fr/joomla/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:286
  at mysqli->real_connect('cl1-sql22', 'gkk53642', 'EKb6hCgDTPXx', null, 3306, null, 0)
     (/home/users6/g/gkk5364/www/sautronastronomie.fr/joomla/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:286)
  at Joomla\Database\Mysqli\MysqliDriver->connect()
     (/home/users6/g/gkk5364/www/sautronastronomie.fr/joomla/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:647)
  at Joomla\Database\Mysqli\MysqliDriver->getVersion()
     (/home/users6/g/gkk5364/www/sautronastronomie.fr/joomla/administrator/components/com_admin/src/Model/SysinfoModel.php:318)
  at Joomla\Component\Admin\Administrator\Model\SysinfoModel->getInfo()
     (/home/users6/g/gkk5364/www/sautronastronomie.fr/joomla/plugins/system/debug/src/DataCollector/InfoCollector.php:136)
  at Joomla\Plugin\System\Debug\DataCollector\InfoCollector->collect()
     (/home/users6/g/gkk5364/www/sautronastronomie.fr/joomla/libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:238)
  at DebugBar\DebugBar->collect()
     (/home/users6/g/gkk5364/www/sautronastronomie.fr/joomla/libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:265)
  at DebugBar\DebugBar->getData()
     (/home/users6/g/gkk5364/www/sautronastronomie.fr/joomla/plugins/system/debug/src/JavascriptRenderer.php:119)
  at Joomla\Plugin\System\Debug\JavascriptRenderer->render()
     (/home/users6/g/gkk5364/www/sautronastronomie.fr/joomla/plugins/system/debug/src/Extension/Debug.php:369)
  at Joomla\Plugin\System\Debug\Extension\Debug->onAfterRespond(object(AfterRespondEvent))
     (/home/users6/g/gkk5364/www/sautronastronomie.fr/joomla/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch('onAfterRespond', object(AfterRespondEvent))
     (/home/users6/g/gkk5364/www/sautronastronomie.fr/joomla/libraries/vendor/joomla/application/src/AbstractApplication.php:99)
  at Joomla\Application\AbstractApplication->dispatchEvent('onAfterRespond', object(AfterRespondEvent))
     (/home/users6/g/gkk5364/www/sautronastronomie.fr/joomla/libraries/src/Application/CMSApplication.php:351)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/home/users6/g/gkk5364/www/sautronastronomie.fr/joomla/includes/app.php:58)
  at require_once('/home/users6/g/gkk5364/www/sautronastronomie.fr/joomla/includes/app.php')
     (/home/users6/g/gkk5364/www/sautronastronomie.fr/joomla/index.php:32)