Joomla\Database\Exception\ExecutionFailureException {#2903 -query: """ SELECT *\n FROM `s4ib5_extensions`\n WHERE `element` = :element AND `type` = :type AND `client_id` = :clientId AND `folder` = :folder LIMIT 1 """ }
try {
if (!$this->statement->execute()) {
throw new ExecutionFailureException($this->query, $this->statement->error, $this->statement->errno);
}
} catch (\Throwable $e) {
throw new ExecutionFailureException($this->query, $e->getMessage(), $e->getCode(), $e);
}
if ($this->columnNames === null) {
$meta = $this->statement->result_metadata();
foreach ($bounded as $key => $obj) {
$this->statement->bindParam($key, $obj->value, $obj->dataType);
}
try {
$this->executed = $this->statement->execute();
// If there is a monitor registered, let it know we have finished this query
if ($this->monitor) {
$this->monitor->stopQuery();
}
$this->statement->setFetchMode($fetchMode, $class);
}
}
// Execute the query and get the result set cursor.
$this->execute();
// Get the first row from the result set as an object of type $class.
$object = $this->fetchObject();
if ($object) {
}
$query->setLimit(1);
$db->setQuery($query);
self::$loadedExtensions[$key] = $db->loadObject();
}
return self::$loadedExtensions[$key];
}
}
return $this->info;
}
private function getCompatPluginParameters()
{
$record = ExtensionHelper::getExtensionRecord('compat', 'plugin', 0, 'behaviour');
if ($record) {
$params = new Registry($record->params);
return ArrayHelper::toString($params->toArray(), ':', ', ');
'phpversion' => PHP_VERSION,
'server' => $_SERVER['SERVER_SOFTWARE'] ?? getenv('SERVER_SOFTWARE'),
'sapi_name' => PHP_SAPI,
'version' => (new Version())->getLongVersion(),
'compatpluginenabled' => PluginHelper::isEnabled('behaviour', 'compat'),
'compatpluginparameters' => $this->getCompatPluginParameters(),
'useragent' => $_SERVER['HTTP_USER_AGENT'] ?? '',
];
return $this->info;
}
'joomlaVersion' => JVERSION,
'requestId' => $this->requestId,
'identity' => $this->getIdentityInfo($application->getIdentity()),
'response' => $this->getResponseInfo($application->getResponse()),
'template' => $this->getTemplateInfo($application->getTemplate(true)),
'database' => $this->getDatabaseInfo($model->getInfo()),
];
}
/**
* Get Identity info.
$request_variables
)
);
foreach ($this->collectors as $name => $collector) {
$this->data[$name] = $collector->collect();
}
// Remove all invalid (non UTF-8) characters
array_walk_recursive($this->data, function (&$item) {
if (is_string($item) && !mb_check_encoding($item, 'UTF-8')) {
* @return array
*/
public function getData()
{
if ($this->data === null) {
$this->collect();
}
return $this->data;
}
/**
$js .= $this->getAddDatasetCode($id, $data, '(stacked)');
}
}
$suffix = !$initialize ? '(ajax)' : null;
$js .= $this->getAddDatasetCode($this->debugBar->getCurrentRequestId(), $this->debugBar->getData(), $suffix);
$nonce = '';
if ($doc->cspNonce) {
$nonce = ' nonce="' . $doc->cspNonce . '"';
echo $contents;
return;
}
echo str_replace('</body>', $debugBarRenderer->renderHead() . $debugBarRenderer->render() . '</body>', $contents);
}
/**
* AJAX handler
*
foreach ($this->listeners[$event->getName()] as $listener) {
if ($event->isStopped()) {
return $event;
}
$listener($event);
}
}
return $event;
}
$dispatcher = $this->getDispatcher();
} catch (\UnexpectedValueException $exception) {
return null;
}
return $dispatcher->dispatch($eventName, $event ?: new ApplicationEvent($eventName, $this));
}
/**
* Method to run the application routines.
*
// Send the application response.
$this->respond();
// Trigger the onAfterRespond event.
$this->dispatchEvent(
'onAfterRespond',
new AfterRespondEvent('onAfterRespond', ['subject' => $this])
);
}
// Set the application as global app
\Joomla\CMS\Factory::$application = $app;
// Execute the application.
$app->execute();
* define() is used rather than "const" to not error for PHP 5.2 and lower
*/
define('_JEXEC', 1);
// Run the application - All executable code should be triggered through this file
require_once dirname(__FILE__) . '/includes/app.php';
throw new PrepareStatementFailureException($this->statement->error, $this->statement->errno);
}
}
try {
if (!$this->statement->execute()) {
throw new ExecutionFailureException($this->query, $this->statement->error, $this->statement->errno);
}
} catch (\Throwable $e) {
throw new ExecutionFailureException($this->query, $e->getMessage(), $e->getCode(), $e);
}
throw new PrepareStatementFailureException($this->statement->error, $this->statement->errno);
}
}
try {
if (!$this->statement->execute()) {
throw new ExecutionFailureException($this->query, $this->statement->error, $this->statement->errno);
}
} catch (\Throwable $e) {
throw new ExecutionFailureException($this->query, $e->getMessage(), $e->getCode(), $e);
}
foreach ($bounded as $key => $obj) {
$this->statement->bindParam($key, $obj->value, $obj->dataType);
}
try {
$this->executed = $this->statement->execute();
// If there is a monitor registered, let it know we have finished this query
if ($this->monitor) {
$this->monitor->stopQuery();
}
$this->statement->setFetchMode($fetchMode, $class);
}
}
// Execute the query and get the result set cursor.
$this->execute();
// Get the first row from the result set as an object of type $class.
$object = $this->fetchObject();
if ($object) {
}
$query->setLimit(1);
$db->setQuery($query);
self::$loadedExtensions[$key] = $db->loadObject();
}
return self::$loadedExtensions[$key];
}
}
return $this->info;
}
private function getCompatPluginParameters()
{
$record = ExtensionHelper::getExtensionRecord('compat', 'plugin', 0, 'behaviour');
if ($record) {
$params = new Registry($record->params);
return ArrayHelper::toString($params->toArray(), ':', ', ');
'phpversion' => PHP_VERSION,
'server' => $_SERVER['SERVER_SOFTWARE'] ?? getenv('SERVER_SOFTWARE'),
'sapi_name' => PHP_SAPI,
'version' => (new Version())->getLongVersion(),
'compatpluginenabled' => PluginHelper::isEnabled('behaviour', 'compat'),
'compatpluginparameters' => $this->getCompatPluginParameters(),
'useragent' => $_SERVER['HTTP_USER_AGENT'] ?? '',
];
return $this->info;
}
'joomlaVersion' => JVERSION,
'requestId' => $this->requestId,
'identity' => $this->getIdentityInfo($application->getIdentity()),
'response' => $this->getResponseInfo($application->getResponse()),
'template' => $this->getTemplateInfo($application->getTemplate(true)),
'database' => $this->getDatabaseInfo($model->getInfo()),
];
}
/**
* Get Identity info.
$request_variables
)
);
foreach ($this->collectors as $name => $collector) {
$this->data[$name] = $collector->collect();
}
// Remove all invalid (non UTF-8) characters
array_walk_recursive($this->data, function (&$item) {
if (is_string($item) && !mb_check_encoding($item, 'UTF-8')) {
* @return array
*/
public function getData()
{
if ($this->data === null) {
$this->collect();
}
return $this->data;
}
/**
$js .= $this->getAddDatasetCode($id, $data, '(stacked)');
}
}
$suffix = !$initialize ? '(ajax)' : null;
$js .= $this->getAddDatasetCode($this->debugBar->getCurrentRequestId(), $this->debugBar->getData(), $suffix);
$nonce = '';
if ($doc->cspNonce) {
$nonce = ' nonce="' . $doc->cspNonce . '"';
echo $contents;
return;
}
echo str_replace('</body>', $debugBarRenderer->renderHead() . $debugBarRenderer->render() . '</body>', $contents);
}
/**
* AJAX handler
*
foreach ($this->listeners[$event->getName()] as $listener) {
if ($event->isStopped()) {
return $event;
}
$listener($event);
}
}
return $event;
}
$dispatcher = $this->getDispatcher();
} catch (\UnexpectedValueException $exception) {
return null;
}
return $dispatcher->dispatch($eventName, $event ?: new ApplicationEvent($eventName, $this));
}
/**
* Method to run the application routines.
*
// Send the application response.
$this->respond();
// Trigger the onAfterRespond event.
$this->dispatchEvent(
'onAfterRespond',
new AfterRespondEvent('onAfterRespond', ['subject' => $this])
);
}
// Set the application as global app
\Joomla\CMS\Factory::$application = $app;
// Execute the application.
$app->execute();
* define() is used rather than "const" to not error for PHP 5.2 and lower
*/
define('_JEXEC', 1);
// Run the application - All executable code should be triggered through this file
require_once dirname(__FILE__) . '/includes/app.php';
[2/2]
ExecutionFailureException
|
---|
Joomla\Database\Exception\ExecutionFailureException: Prepared statement needs to be re-prepared at /datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:411 at Joomla\Database\Mysqli\MysqliStatement->execute() (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/libraries/vendor/joomla/database/src/DatabaseDriver.php:651) at Joomla\Database\DatabaseDriver->execute() (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/libraries/vendor/joomla/database/src/DatabaseDriver.php:1257) at Joomla\Database\DatabaseDriver->loadObject() (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/libraries/src/Extension/ExtensionHelper.php:504) at Joomla\CMS\Extension\ExtensionHelper::getExtensionRecord('compat', 'plugin', 0, 'behaviour') (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/administrator/components/com_admin/src/Model/SysinfoModel.php:337) at Joomla\Component\Admin\Administrator\Model\SysinfoModel->getCompatPluginParameters() (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/administrator/components/com_admin/src/Model/SysinfoModel.php:328) at Joomla\Component\Admin\Administrator\Model\SysinfoModel->getInfo() (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/plugins/system/debug/src/DataCollector/InfoCollector.php:136) at Joomla\Plugin\System\Debug\DataCollector\InfoCollector->collect() (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:238) at DebugBar\DebugBar->collect() (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:265) at DebugBar\DebugBar->getData() (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/plugins/system/debug/src/JavascriptRenderer.php:119) at Joomla\Plugin\System\Debug\JavascriptRenderer->render() (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/plugins/system/debug/src/Extension/Debug.php:368) at Joomla\Plugin\System\Debug\Extension\Debug->onAfterRespond(object(AfterRespondEvent)) (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/libraries/vendor/joomla/event/src/Dispatcher.php:454) at Joomla\Event\Dispatcher->dispatch('onAfterRespond', object(AfterRespondEvent)) (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/libraries/vendor/joomla/application/src/AbstractApplication.php:99) at Joomla\Application\AbstractApplication->dispatchEvent('onAfterRespond', object(AfterRespondEvent)) (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/libraries/src/Application/CMSApplication.php:349) at Joomla\CMS\Application\CMSApplication->execute() (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/includes/app.php:58) at require_once('/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/includes/app.php') (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/index.php:32) |
[1/2]
mysqli_sql_exception
|
---|
mysqli_sql_exception: Prepared statement needs to be re-prepared at /datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:407 at mysqli_stmt->execute() (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:407) at Joomla\Database\Mysqli\MysqliStatement->execute() (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/libraries/vendor/joomla/database/src/DatabaseDriver.php:651) at Joomla\Database\DatabaseDriver->execute() (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/libraries/vendor/joomla/database/src/DatabaseDriver.php:1257) at Joomla\Database\DatabaseDriver->loadObject() (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/libraries/src/Extension/ExtensionHelper.php:504) at Joomla\CMS\Extension\ExtensionHelper::getExtensionRecord('compat', 'plugin', 0, 'behaviour') (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/administrator/components/com_admin/src/Model/SysinfoModel.php:337) at Joomla\Component\Admin\Administrator\Model\SysinfoModel->getCompatPluginParameters() (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/administrator/components/com_admin/src/Model/SysinfoModel.php:328) at Joomla\Component\Admin\Administrator\Model\SysinfoModel->getInfo() (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/plugins/system/debug/src/DataCollector/InfoCollector.php:136) at Joomla\Plugin\System\Debug\DataCollector\InfoCollector->collect() (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:238) at DebugBar\DebugBar->collect() (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/libraries/vendor/maximebf/debugbar/src/DebugBar/DebugBar.php:265) at DebugBar\DebugBar->getData() (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/plugins/system/debug/src/JavascriptRenderer.php:119) at Joomla\Plugin\System\Debug\JavascriptRenderer->render() (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/plugins/system/debug/src/Extension/Debug.php:368) at Joomla\Plugin\System\Debug\Extension\Debug->onAfterRespond(object(AfterRespondEvent)) (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/libraries/vendor/joomla/event/src/Dispatcher.php:454) at Joomla\Event\Dispatcher->dispatch('onAfterRespond', object(AfterRespondEvent)) (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/libraries/vendor/joomla/application/src/AbstractApplication.php:99) at Joomla\Application\AbstractApplication->dispatchEvent('onAfterRespond', object(AfterRespondEvent)) (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/libraries/src/Application/CMSApplication.php:349) at Joomla\CMS\Application\CMSApplication->execute() (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/includes/app.php:58) at require_once('/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/includes/app.php') (/datas/yulpa173848/sites/samclap-ufolep.fr/htdocs/index.php:32) |