mysqli_sql_exception ExecutionFailureException

HTTP 500 Whoops, looks like something went wrong.

Query execution was interrupted (max_statement_time exceeded)

Exceptions 2

Joomla\Database\Exception\ ExecutionFailureException

Show exception properties
Joomla\Database\Exception\ExecutionFailureException {#1187
  -query: "SHOW SESSION VARIABLES WHERE `Variable_name` IN ('have_ssl')"
}
  1.         try {
  2.             if (!$this->statement->execute()) {
  3.                 throw new ExecutionFailureException($this->query$this->statement->error$this->statement->errno);
  4.             }
  5.         } catch (\Throwable $e) {
  6.             throw new ExecutionFailureException($this->query$e->getMessage(), $e->getCode(), $e);
  7.         }
  8.         if ($this->columnNames === null) {
  9.             $meta $this->statement->result_metadata();
  1.         foreach ($bounded as $key => $obj) {
  2.             $this->statement->bindParam($key$obj->value$obj->dataType);
  3.         }
  4.         try {
  5.             $this->executed $this->statement->execute();
  6.             // If there is a monitor registered, let it know we have finished this query
  7.             if ($this->monitor) {
  8.                 $this->monitor->stopQuery();
  9.             }
  1.                 $this->statement->setFetchMode($fetchMode$class);
  2.             }
  3.         }
  4.         // Execute the query and get the result set cursor.
  5.         $this->execute();
  6.         // Get all of the rows from the result set as objects of type $class.
  7.         while ($row $this->fetchObject()) {
  8.             if ($key) {
  9.                 $array[$row->$key] = $row;
  1.      */
  2.     public function isConnectionEncryptionSupported(): bool
  3.     {
  4.         $this->connect();
  5.         $variables $this->setQuery('SHOW SESSION VARIABLES WHERE `Variable_name` IN (\'have_ssl\')')->loadObjectList('Variable_name');
  6.         return !empty($variables['have_ssl']->Value) && $variables['have_ssl']->Value === 'YES';
  7.     }
  8.     /**
MysqliDriver->isConnectionEncryptionSupported() in /usr/share/nginx/nili/administrator/components/com_admin/src/Model/SysinfoModel.php (line 322)
  1.             'dbserver'               => $db->getServerType(),
  2.             'dbversion'              => $db->getVersion(),
  3.             'dbcollation'            => $db->getCollation(),
  4.             'dbconnectioncollation'  => $db->getConnectionCollation(),
  5.             'dbconnectionencryption' => $db->getConnectionEncryption(),
  6.             'dbconnencryptsupported' => $db->isConnectionEncryptionSupported(),
  7.             'phpversion'             => PHP_VERSION,
  8.             'server'                 => $_SERVER['SERVER_SOFTWARE'] ?? getenv('SERVER_SOFTWARE'),
  9.             'sapi_name'              => PHP_SAPI,
  10.             'version'                => (new Version())->getLongVersion(),
  11.             'compatpluginenabled'    => PluginHelper::isEnabled('behaviour''compat'),
  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() in /usr/share/nginx/nili/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.
CMSApplication->execute() in /usr/share/nginx/nili/includes/app.php (line 58)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/usr/share/nginx/nili/includes/app.php') in /usr/share/nginx/nili/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';

mysqli_sql_exception

Query execution was interrupted (max_statement_time exceeded)

  1.                 throw new PrepareStatementFailureException($this->statement->error$this->statement->errno);
  2.             }
  3.         }
  4.         try {
  5.             if (!$this->statement->execute()) {
  6.                 throw new ExecutionFailureException($this->query$this->statement->error$this->statement->errno);
  7.             }
  8.         } catch (\Throwable $e) {
  9.             throw new ExecutionFailureException($this->query$e->getMessage(), $e->getCode(), $e);
  10.         }
  1.                 throw new PrepareStatementFailureException($this->statement->error$this->statement->errno);
  2.             }
  3.         }
  4.         try {
  5.             if (!$this->statement->execute()) {
  6.                 throw new ExecutionFailureException($this->query$this->statement->error$this->statement->errno);
  7.             }
  8.         } catch (\Throwable $e) {
  9.             throw new ExecutionFailureException($this->query$e->getMessage(), $e->getCode(), $e);
  10.         }
  1.         foreach ($bounded as $key => $obj) {
  2.             $this->statement->bindParam($key$obj->value$obj->dataType);
  3.         }
  4.         try {
  5.             $this->executed $this->statement->execute();
  6.             // If there is a monitor registered, let it know we have finished this query
  7.             if ($this->monitor) {
  8.                 $this->monitor->stopQuery();
  9.             }
  1.                 $this->statement->setFetchMode($fetchMode$class);
  2.             }
  3.         }
  4.         // Execute the query and get the result set cursor.
  5.         $this->execute();
  6.         // Get all of the rows from the result set as objects of type $class.
  7.         while ($row $this->fetchObject()) {
  8.             if ($key) {
  9.                 $array[$row->$key] = $row;
  1.      */
  2.     public function isConnectionEncryptionSupported(): bool
  3.     {
  4.         $this->connect();
  5.         $variables $this->setQuery('SHOW SESSION VARIABLES WHERE `Variable_name` IN (\'have_ssl\')')->loadObjectList('Variable_name');
  6.         return !empty($variables['have_ssl']->Value) && $variables['have_ssl']->Value === 'YES';
  7.     }
  8.     /**
MysqliDriver->isConnectionEncryptionSupported() in /usr/share/nginx/nili/administrator/components/com_admin/src/Model/SysinfoModel.php (line 322)
  1.             'dbserver'               => $db->getServerType(),
  2.             'dbversion'              => $db->getVersion(),
  3.             'dbcollation'            => $db->getCollation(),
  4.             'dbconnectioncollation'  => $db->getConnectionCollation(),
  5.             'dbconnectionencryption' => $db->getConnectionEncryption(),
  6.             'dbconnencryptsupported' => $db->isConnectionEncryptionSupported(),
  7.             'phpversion'             => PHP_VERSION,
  8.             'server'                 => $_SERVER['SERVER_SOFTWARE'] ?? getenv('SERVER_SOFTWARE'),
  9.             'sapi_name'              => PHP_SAPI,
  10.             'version'                => (new Version())->getLongVersion(),
  11.             'compatpluginenabled'    => PluginHelper::isEnabled('behaviour''compat'),
  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() in /usr/share/nginx/nili/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.
CMSApplication->execute() in /usr/share/nginx/nili/includes/app.php (line 58)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/usr/share/nginx/nili/includes/app.php') in /usr/share/nginx/nili/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 Traces 2

[2/2] ExecutionFailureException
Joomla\Database\Exception\ExecutionFailureException:
Query execution was interrupted (max_statement_time exceeded)

  at /usr/share/nginx/nili/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:411
  at Joomla\Database\Mysqli\MysqliStatement->execute()
     (/usr/share/nginx/nili/libraries/vendor/joomla/database/src/DatabaseDriver.php:651)
  at Joomla\Database\DatabaseDriver->execute()
     (/usr/share/nginx/nili/libraries/vendor/joomla/database/src/DatabaseDriver.php:1304)
  at Joomla\Database\DatabaseDriver->loadObjectList()
     (/usr/share/nginx/nili/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:512)
  at Joomla\Database\Mysqli\MysqliDriver->isConnectionEncryptionSupported()
     (/usr/share/nginx/nili/administrator/components/com_admin/src/Model/SysinfoModel.php:322)
  at Joomla\Component\Admin\Administrator\Model\SysinfoModel->getInfo()
     (/usr/share/nginx/nili/plugins/system/debug/src/DataCollector/InfoCollector.php:136)
  at Joomla\Plugin\System\Debug\DataCollector\InfoCollector->collect()
     (/usr/share/nginx/nili/libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:238)
  at DebugBar\DebugBar->collect()
     (/usr/share/nginx/nili/libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:265)
  at DebugBar\DebugBar->getData()
     (/usr/share/nginx/nili/plugins/system/debug/src/JavascriptRenderer.php:119)
  at Joomla\Plugin\System\Debug\JavascriptRenderer->render()
     (/usr/share/nginx/nili/plugins/system/debug/src/Extension/Debug.php:368)
  at Joomla\Plugin\System\Debug\Extension\Debug->onAfterRespond()
     (/usr/share/nginx/nili/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch()
     (/usr/share/nginx/nili/libraries/vendor/joomla/application/src/AbstractApplication.php:99)
  at Joomla\Application\AbstractApplication->dispatchEvent()
     (/usr/share/nginx/nili/libraries/src/Application/CMSApplication.php:351)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/usr/share/nginx/nili/includes/app.php:58)
  at require_once('/usr/share/nginx/nili/includes/app.php')
     (/usr/share/nginx/nili/index.php:32)                
[1/2] mysqli_sql_exception
mysqli_sql_exception:
Query execution was interrupted (max_statement_time exceeded)

  at /usr/share/nginx/nili/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:407
  at mysqli_stmt->execute()
     (/usr/share/nginx/nili/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:407)
  at Joomla\Database\Mysqli\MysqliStatement->execute()
     (/usr/share/nginx/nili/libraries/vendor/joomla/database/src/DatabaseDriver.php:651)
  at Joomla\Database\DatabaseDriver->execute()
     (/usr/share/nginx/nili/libraries/vendor/joomla/database/src/DatabaseDriver.php:1304)
  at Joomla\Database\DatabaseDriver->loadObjectList()
     (/usr/share/nginx/nili/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:512)
  at Joomla\Database\Mysqli\MysqliDriver->isConnectionEncryptionSupported()
     (/usr/share/nginx/nili/administrator/components/com_admin/src/Model/SysinfoModel.php:322)
  at Joomla\Component\Admin\Administrator\Model\SysinfoModel->getInfo()
     (/usr/share/nginx/nili/plugins/system/debug/src/DataCollector/InfoCollector.php:136)
  at Joomla\Plugin\System\Debug\DataCollector\InfoCollector->collect()
     (/usr/share/nginx/nili/libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:238)
  at DebugBar\DebugBar->collect()
     (/usr/share/nginx/nili/libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:265)
  at DebugBar\DebugBar->getData()
     (/usr/share/nginx/nili/plugins/system/debug/src/JavascriptRenderer.php:119)
  at Joomla\Plugin\System\Debug\JavascriptRenderer->render()
     (/usr/share/nginx/nili/plugins/system/debug/src/Extension/Debug.php:368)
  at Joomla\Plugin\System\Debug\Extension\Debug->onAfterRespond()
     (/usr/share/nginx/nili/libraries/vendor/joomla/event/src/Dispatcher.php:454)
  at Joomla\Event\Dispatcher->dispatch()
     (/usr/share/nginx/nili/libraries/vendor/joomla/application/src/AbstractApplication.php:99)
  at Joomla\Application\AbstractApplication->dispatchEvent()
     (/usr/share/nginx/nili/libraries/src/Application/CMSApplication.php:351)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/usr/share/nginx/nili/includes/app.php:58)
  at require_once('/usr/share/nginx/nili/includes/app.php')
     (/usr/share/nginx/nili/index.php:32)