/srv/www/www.edutiek.de/html/ilias/components/ILIAS/Database/classes/PDO/class.ilDBPdo.php
}
return true;
}
/**
* @throws ilDatabaseException
*/
public function query(string $query): ilDBStatement
{
global $DIC;
$ilBench = $DIC['ilBench'] ?? null;
$query = $this->appendLimit($query);
try {
if ($ilBench instanceof ilBenchmark) {
$ilBench->startDbBench($query);
}
$res = $this->pdo->query($query);
if ($ilBench instanceof ilBenchmark) {
$ilBench->stopDbBench();
}
} catch (PDOException $e) {
throw new ilDatabaseException($e->getMessage() . ' QUERY: ' . $query, (int) $e->getCode());
}
$err = $this->pdo->errorCode();
if ($err !== PDO::ERR_NONE) {
$info = $this->pdo->errorInfo();
$info_message = $info[2];
throw new ilDatabaseException($info_message . ' QUERY: ' . $query);
}
return new ilPDOStatement($res);
}
public function fetchAll(ilDBStatement $statement, int $fetch_mode = ilDBConstants::FETCHMODE_ASSOC): array
{
$return = [];
Arguments
"Allowed memory size of 536870912 bytes exhausted (tried to allocate 130039808 bytes)"
/srv/www/www.edutiek.de/html/ilias/vendor/composer/vendor/filp/whoops/src/Whoops/Run.php
* @return void
*/
public function handleShutdown()
{
// If we reached this step, we are in shutdown handler.
// An exception thrown in a shutdown handler will not be propagated
// to the exception handler. Pass that information along.
$this->canThrowExceptions = false;
// If we are not currently registered, we should not do anything
if (!$this->isRegistered) {
return;
}
$error = $this->system->getLastError();
if ($error && Misc::isLevelFatal($error['type'])) {
// If there was a fatal error,
// it was not handled in handleError yet.
$this->allowQuit = false;
$this->handleError(
$error['type'],
$error['message'],
$error['file'],
$error['line']
);
}
}
/**
* @param InspectorFactoryInterface $factory
*
* @return void
*/
public function setInspectorFactory(InspectorFactoryInterface $factory)
{
$this->inspectorFactory = $factory;
}
public function addFrameFilter($filterCallback)