ExecutionFailureException ExecutionFailureException

HTTP 500 Whoops, looks like something went wrong.

Prepared statement needs to be re-prepared

Exceptions 2

Joomla\Database\Exception\ ExecutionFailureException

  1.                 throw new ExecutionFailureException($this->query$this->statement->error$this->statement->errno);
  2.             }
  3.         }
  4.         catch (\Throwable $e)
  5.         {
  6.             throw new ExecutionFailureException($this->query$e->getMessage(), $e->getCode(), $e);
  7.         }
  8.         if ($this->columnNames === null)
  9.         {
  10.             $meta $this->statement->result_metadata();
  1.             $this->statement->bindParam($key$obj->value$obj->dataType);
  2.         }
  3.         try
  4.         {
  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.             {
  9.                 $this->monitor->stopQuery();
  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.         {
  9.             if ($key)
  1.     public function getConnectionEncryption(): string
  2.     {
  3.         $this->connect();
  4.         $variables $this->setQuery('SHOW SESSION STATUS WHERE `Variable_name` IN (\'Ssl_version\', \'Ssl_cipher\')')
  5.             ->loadObjectList('Variable_name');
  6.         if (!empty($variables['Ssl_cipher']->Value))
  7.         {
  8.             return $variables['Ssl_version']->Value ' (' $variables['Ssl_cipher']->Value ')';
  9.         }
  1.             'php'                    => php_uname(),
  2.             'dbserver'               => $db->getServerType(),
  3.             'dbversion'              => $db->getVersion(),
  4.             'dbcollation'            => $db->getCollation(),
  5.             'dbconnectioncollation'  => $db->getConnectionCollation(),
  6.             'dbconnectionencryption' => $db->getConnectionEncryption(),
  7.             'dbconnencryptsupported' => $db->isConnectionEncryptionSupported(),
  8.             'phpversion'             => PHP_VERSION,
  9.             'server'                 => $_SERVER['SERVER_SOFTWARE'] ?? getenv('SERVER_SOFTWARE'),
  10.             'sapi_name'              => PHP_SAPI,
  11.             'version'                => (new Version())->getLongVersion(),
  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.                 if ($event->isStopped())
  2.                 {
  3.                     return $event;
  4.                 }
  5.                 $listener($event);
  6.             }
  7.         }
  8.         return $event;
  9.     }
Dispatcher->dispatch('onAfterRespond') in /var/www/web24799778/html/joomla/libraries/src/Application/CMSApplication.php (line 332)
  1.         // Send the application response.
  2.         $this->respond();
  3.         // Trigger the onAfterRespond event.
  4.         $this->getDispatcher()->dispatch('onAfterRespond');
  5.     }
  6.     /**
  7.      * Check if the user is required to reset their password.
  8.      *
CMSApplication->execute() in /var/www/web24799778/html/joomla/includes/app.php (line 61)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/var/www/web24799778/html/joomla/includes/app.php') in /var/www/web24799778/html/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';

Joomla\Database\Exception\ ExecutionFailureException

Prepared statement needs to be re-prepared

  1.         try
  2.         {
  3.             if (!$this->statement->execute())
  4.             {
  5.                 throw new ExecutionFailureException($this->query$this->statement->error$this->statement->errno);
  6.             }
  7.         }
  8.         catch (\Throwable $e)
  9.         {
  10.             throw new ExecutionFailureException($this->query$e->getMessage(), $e->getCode(), $e);
  1.             $this->statement->bindParam($key$obj->value$obj->dataType);
  2.         }
  3.         try
  4.         {
  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.             {
  9.                 $this->monitor->stopQuery();
  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.         {
  9.             if ($key)
  1.     public function getConnectionEncryption(): string
  2.     {
  3.         $this->connect();
  4.         $variables $this->setQuery('SHOW SESSION STATUS WHERE `Variable_name` IN (\'Ssl_version\', \'Ssl_cipher\')')
  5.             ->loadObjectList('Variable_name');
  6.         if (!empty($variables['Ssl_cipher']->Value))
  7.         {
  8.             return $variables['Ssl_version']->Value ' (' $variables['Ssl_cipher']->Value ')';
  9.         }
  1.             'php'                    => php_uname(),
  2.             'dbserver'               => $db->getServerType(),
  3.             'dbversion'              => $db->getVersion(),
  4.             'dbcollation'            => $db->getCollation(),
  5.             'dbconnectioncollation'  => $db->getConnectionCollation(),
  6.             'dbconnectionencryption' => $db->getConnectionEncryption(),
  7.             'dbconnencryptsupported' => $db->isConnectionEncryptionSupported(),
  8.             'phpversion'             => PHP_VERSION,
  9.             'server'                 => $_SERVER['SERVER_SOFTWARE'] ?? getenv('SERVER_SOFTWARE'),
  10.             'sapi_name'              => PHP_SAPI,
  11.             'version'                => (new Version())->getLongVersion(),
  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.                 if ($event->isStopped())
  2.                 {
  3.                     return $event;
  4.                 }
  5.                 $listener($event);
  6.             }
  7.         }
  8.         return $event;
  9.     }
Dispatcher->dispatch('onAfterRespond') in /var/www/web24799778/html/joomla/libraries/src/Application/CMSApplication.php (line 332)
  1.         // Send the application response.
  2.         $this->respond();
  3.         // Trigger the onAfterRespond event.
  4.         $this->getDispatcher()->dispatch('onAfterRespond');
  5.     }
  6.     /**
  7.      * Check if the user is required to reset their password.
  8.      *
CMSApplication->execute() in /var/www/web24799778/html/joomla/includes/app.php (line 61)
  1. // Set the application as global app
  2. \Joomla\CMS\Factory::$application $app;
  3. // Execute the application.
  4. $app->execute();
require_once('/var/www/web24799778/html/joomla/includes/app.php') in /var/www/web24799778/html/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 Traces 2

[2/2] ExecutionFailureException
Joomla\Database\Exception\ExecutionFailureException:
Prepared statement needs to be re-prepared

  at /var/www/web24799778/html/joomla/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:442
  at Joomla\Database\Mysqli\MysqliStatement->execute()
     (/var/www/web24799778/html/joomla/libraries/vendor/joomla/database/src/DatabaseDriver.php:675)
  at Joomla\Database\DatabaseDriver->execute()
     (/var/www/web24799778/html/joomla/libraries/vendor/joomla/database/src/DatabaseDriver.php:1375)
  at Joomla\Database\DatabaseDriver->loadObjectList('Variable_name')
     (/var/www/web24799778/html/joomla/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:527)
  at Joomla\Database\Mysqli\MysqliDriver->getConnectionEncryption()
     (/var/www/web24799778/html/joomla/administrator/components/com_admin/src/Model/SysinfoModel.php:318)
  at Joomla\Component\Admin\Administrator\Model\SysinfoModel->getInfo()
     (/var/www/web24799778/html/joomla/plugins/system/debug/src/DataCollector/InfoCollector.php:136)
  at Joomla\Plugin\System\Debug\DataCollector\InfoCollector->collect()
     (/var/www/web24799778/html/joomla/libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:238)
  at DebugBar\DebugBar->collect()
     (/var/www/web24799778/html/joomla/libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:265)
  at DebugBar\DebugBar->getData()
     (/var/www/web24799778/html/joomla/plugins/system/debug/src/JavascriptRenderer.php:119)
  at Joomla\Plugin\System\Debug\JavascriptRenderer->render()
     (/var/www/web24799778/html/joomla/plugins/system/debug/debug.php:370)
  at PlgSystemDebug->onAfterRespond(object(Event))
     (/var/www/web24799778/html/joomla/libraries/vendor/joomla/event/src/Dispatcher.php:486)
  at Joomla\Event\Dispatcher->dispatch('onAfterRespond')
     (/var/www/web24799778/html/joomla/libraries/src/Application/CMSApplication.php:332)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/var/www/web24799778/html/joomla/includes/app.php:61)
  at require_once('/var/www/web24799778/html/joomla/includes/app.php')
     (/var/www/web24799778/html/joomla/index.php:32)                
[1/2] ExecutionFailureException
Joomla\Database\Exception\ExecutionFailureException:
Prepared statement needs to be re-prepared

  at /var/www/web24799778/html/joomla/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:437
  at Joomla\Database\Mysqli\MysqliStatement->execute()
     (/var/www/web24799778/html/joomla/libraries/vendor/joomla/database/src/DatabaseDriver.php:675)
  at Joomla\Database\DatabaseDriver->execute()
     (/var/www/web24799778/html/joomla/libraries/vendor/joomla/database/src/DatabaseDriver.php:1375)
  at Joomla\Database\DatabaseDriver->loadObjectList('Variable_name')
     (/var/www/web24799778/html/joomla/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:527)
  at Joomla\Database\Mysqli\MysqliDriver->getConnectionEncryption()
     (/var/www/web24799778/html/joomla/administrator/components/com_admin/src/Model/SysinfoModel.php:318)
  at Joomla\Component\Admin\Administrator\Model\SysinfoModel->getInfo()
     (/var/www/web24799778/html/joomla/plugins/system/debug/src/DataCollector/InfoCollector.php:136)
  at Joomla\Plugin\System\Debug\DataCollector\InfoCollector->collect()
     (/var/www/web24799778/html/joomla/libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:238)
  at DebugBar\DebugBar->collect()
     (/var/www/web24799778/html/joomla/libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:265)
  at DebugBar\DebugBar->getData()
     (/var/www/web24799778/html/joomla/plugins/system/debug/src/JavascriptRenderer.php:119)
  at Joomla\Plugin\System\Debug\JavascriptRenderer->render()
     (/var/www/web24799778/html/joomla/plugins/system/debug/debug.php:370)
  at PlgSystemDebug->onAfterRespond(object(Event))
     (/var/www/web24799778/html/joomla/libraries/vendor/joomla/event/src/Dispatcher.php:486)
  at Joomla\Event\Dispatcher->dispatch('onAfterRespond')
     (/var/www/web24799778/html/joomla/libraries/src/Application/CMSApplication.php:332)
  at Joomla\CMS\Application\CMSApplication->execute()
     (/var/www/web24799778/html/joomla/includes/app.php:61)
  at require_once('/var/www/web24799778/html/joomla/includes/app.php')
     (/var/www/web24799778/html/joomla/index.php:32)