in /var/www/wmeyer2018/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 112
case '1370':
case '1429':
case '2002':
case '2005':
return new ConnectionException($message, $exception);
case '2006':
return new ConnectionLost($message, $exception);
at Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException()
in /var/www/wmeyer2018/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 182
return $driverEx;
}
if ($driver instanceof ExceptionConverterDriver && $driverEx instanceof DeprecatedDriverException) {
return $driver->convertException($msg, $driverEx);
}
return new Exception($msg, 0, $driverEx);
}
at Doctrine\DBAL\DBALException::wrapException()
in /var/www/wmeyer2018/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 169
* @return Exception
*/
public static function driverException(Driver $driver, Throwable $driverEx)
{
return self::wrapException($driver, $driverEx, 'An exception occurred in driver: ' . $driverEx->getMessage());
}
/**
* @return Exception
at Doctrine\DBAL\DBALException::driverException()
in /var/www/wmeyer2018/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Mysqli/Driver.php line 19
{
try {
return new Connection($params, (string) $username, (string) $password, $driverOptions);
} catch (MysqliException $e) {
throw Exception::driverException($this, $e);
}
}
/**
at Doctrine\DBAL\Driver\Mysqli\Driver->connect()
in /var/www/wmeyer2018/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 412
$driverOptions = $this->params['driverOptions'] ?? [];
$user = $this->params['user'] ?? null;
$password = $this->params['password'] ?? null;
$this->_conn = $this->_driver->connect($this->params, $user, $password, $driverOptions);
$this->transactionNestingLevel = 0;
if ($this->autoCommit === false) {
at Doctrine\DBAL\Connection->connect()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Database/Connection.php line 103
*/
public function connect(): bool
{
// Early return if the connection is already open and custom setup has been done.
if (!parent::connect()) {
return false;
}
foreach ($this->prepareConnectionCommands as $command) {
at TYPO3\CMS\Core\Database\Connection->connect()
in /var/www/wmeyer2018/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 1952
* @return DriverConnection
*/
public function getWrappedConnection()
{
$this->connect();
assert($this->_conn !== null);
return $this->_conn;
at Doctrine\DBAL\Connection->getWrappedConnection()
in /var/www/wmeyer2018/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php line 980
* @param int|string|Type|null $type
*/
public function quote($value, $type = ParameterType::STRING)
{
$connection = $this->getWrappedConnection();
[$value, $bindingType] = $this->getBindingInfo($value, $type);
return $connection->quote($value, $bindingType);
at Doctrine\DBAL\Connection->quote()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Database/Query/Expression/ExpressionBuilder.php line 689
public function literal($input, $type = Connection::PARAM_STR)
{
// @todo: drop this line together with signature change in v12
$type = $type ?? Connection::PARAM_STR;
return $this->connection->quote($input, $type);
}
/**
* Unquote a string literal. Used to unquote values for internal platform adjustments.
at TYPO3\CMS\Core\Database\Query\Expression\ExpressionBuilder->literal()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Database/Query/Restriction/FrontendGroupRestriction.php line 68
$fieldName = $tableAlias . '.' . $groupFieldName;
// Allow records where no group access has been configured (field values NULL, 0 or empty string)
$constraints = [
$expressionBuilder->isNull($fieldName),
$expressionBuilder->eq($fieldName, $expressionBuilder->literal('')),
$expressionBuilder->eq($fieldName, $expressionBuilder->literal('0')),
];
foreach ($this->frontendGroupIds as $frontendGroupId) {
$constraints[] = $expressionBuilder->inSet(
at TYPO3\CMS\Core\Database\Query\Restriction\FrontendGroupRestriction->buildExpression()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Database/Query/Restriction/FrontendRestrictionContainer.php line 88
$disableRestriction = $visibilityAspect->includeHiddenContent();
}
}
if (!$disableRestriction) {
$constraints[] = $restriction->buildExpression([$tableAlias => $tableName], $expressionBuilder);
}
}
}
return $expressionBuilder->andX(...$constraints);
at TYPO3\CMS\Core\Database\Query\Restriction\FrontendRestrictionContainer->buildExpression()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Database/Query/QueryBuilder.php line 1399
*/
protected function addAdditionalWhereConditions()
{
$originalWhereConditions = $this->concreteQueryBuilder->getQueryPart('where');
$expression = $this->restrictionContainer->buildExpression($this->getQueriedTables(), $this->expr());
// This check would be obsolete, as the composite expression would not add empty expressions anyway
// But we keep it here to only clone the previous state, in case we really will change it.
// Once we remove this state preserving functionality, we can remove the count check here
// and just add the expression to the query builder.
at TYPO3\CMS\Core\Database\Query\QueryBuilder->addAdditionalWhereConditions()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Database/Query/QueryBuilder.php line 296
*/
public function executeQuery(): Result
{
// Set additional query restrictions
$originalWhereConditions = $this->addAdditionalWhereConditions();
// @todo Call $this->concreteQueryBuilder->executeQuery()
// directly with doctrine/dbal:^3.2 raise in v12.
$return = $this->concreteQueryBuilder->execute();
at TYPO3\CMS\Core\Database\Query\QueryBuilder->executeQuery()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Domain/Repository/PageRepository.php line 1316
'uid',
$queryBuilder->createNamedParameter($pageIds, Connection::PARAM_INT_ARRAY)
)
)
->executeQuery();
while ($row = $statement->fetchAssociative()) {
$validPageIds[] = (int)$row['uid'];
}
return $validPageIds;
at TYPO3\CMS\Core\Domain\Repository\PageRepository->filterAccessiblePageIds()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 6515
$restrictionContainer->add(GeneralUtility::makeInstance(
DocumentTypeExclusionRestriction::class,
GeneralUtility::intExplode(',', (string)$this->checkPid_badDoktypeList, true)
));
return $this->getTypoScriptFrontendController()->sys_page->filterAccessiblePageIds($pageIds, $restrictionContainer);
}
/**
* Builds list of marker values for handling PDO-like parameter markers in select parts.
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->checkPidArray()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 6313
if (trim($conf['pidInList'])) {
$listArr = GeneralUtility::intExplode(',', str_replace('this', (string)$tsfe->contentPid, $conf['pidInList']));
// Removes all pages which are not visible for the user!
$listArr = $this->checkPidArray($listArr);
if (GeneralUtility::inList($conf['pidInList'], 'root')) {
$listArr[] = 0;
}
if (GeneralUtility::inList($conf['pidInList'], '-1')) {
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->getQueryConstraints()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 6061
if ((string)($conf['pidInList'] ?? '') === '') {
$conf['pidInList'] = 'this';
}
$queryParts = $this->getQueryConstraints($table, $conf);
$queryBuilder = $connection->createQueryBuilder();
// @todo Check against getQueryConstraints, can probably use FrontendRestrictions
// @todo here and remove enableFields there.
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->getQuery()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 5920
* @see getQuery()
*/
public function exec_getQuery($table, $conf)
{
$statement = $this->getQuery($table, $conf);
$connection = GeneralUtility::makeInstance(ConnectionPool::class)->getConnectionForTable($table);
return $connection->executeQuery($statement);
}
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->exec_getQuery()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 5939
public function getRecords($tableName, array $queryConfiguration)
{
$records = [];
$statement = $this->exec_getQuery($tableName, $queryConfiguration);
$tsfe = $this->getTypoScriptFrontendController();
while ($row = $statement->fetchAssociative()) {
// Versioning preview:
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->getRecords()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/ContentObject/ContentContentObject.php line 72
$again = false;
$tmpValue = '';
do {
$records = $this->cObj->getRecords($conf['table'], $conf['select.']);
$cobjValue = '';
if (!empty($records)) {
// @deprecated since v11, will be removed in v12. Drop together with ContentObjectRenderer->currentRecordTotal
$this->cObj->currentRecordTotal = count($records);
at TYPO3\CMS\Frontend\ContentObject\ContentContentObject->render()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 815
}
// Render content
try {
$content .= $contentObject->render($configuration);
} catch (ContentRenderingException $exception) {
// Content rendering Exceptions indicate a critical problem which should not be
// caught e.g. when something went wrong with Exception handling itself
throw $exception;
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->render()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 751
$timeTracker->decStackPointer();
} else {
$contentObject = $this->getContentObject($name);
if ($contentObject) {
$content .= $this->render($contentObject, $conf);
}
}
if ($timeTracker->LR) {
$timeTracker->pull($content);
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGetSingle()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 713
foreach ($sKeyArray as $theKey) {
$theValue = $setup[$theKey];
if ((int)$theKey && !str_contains($theKey, '.')) {
$conf = $setup[$theKey . '.'] ?? [];
$contentObjects[] = $this->cObjGetSingle($theValue, $conf, $addKey . $theKey);
}
}
return $contentObjects;
}
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGetSeparated()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 693
{
if (!is_array($setup)) {
return '';
}
return implode('', $this->cObjGetSeparated($setup, $addKey));
}
/**
* Rendering of a "numerical array" of cObjects from TypoScript
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGet()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/ContentObject/ContentObjectArrayContentObject.php line 43
if (!empty($conf['if.']) && !$this->cObj->checkIf($conf['if.'])) {
return '';
}
$content = $this->cObj->cObjGet($conf);
$wrap = $this->cObj->stdWrapValue('wrap', $conf ?? []);
if ($wrap) {
$content = $this->cObj->wrap($content, $wrap);
}
at TYPO3\CMS\Frontend\ContentObject\ContentObjectArrayContentObject->render()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 815
}
// Render content
try {
$content .= $contentObject->render($configuration);
} catch (ContentRenderingException $exception) {
// Content rendering Exceptions indicate a critical problem which should not be
// caught e.g. when something went wrong with Exception handling itself
throw $exception;
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->render()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 751
$timeTracker->decStackPointer();
} else {
$contentObject = $this->getContentObject($name);
if ($contentObject) {
$content .= $this->render($contentObject, $conf);
}
}
if ($timeTracker->LR) {
$timeTracker->pull($content);
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGetSingle()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/ContentObject/FluidTemplateContentObject.php line 305
continue;
}
if (!in_array($variableName, $reservedVariables)) {
$cObjConf = $variablesToProcess[$variableName . '.'] ?? [];
$variables[$variableName] = $this->cObj->cObjGetSingle($cObjType, $cObjConf, 'variables.' . $variableName);
} else {
throw new \InvalidArgumentException(
'Cannot use reserved name "' . $variableName . '" as variable name in FLUIDTEMPLATE.',
1288095720
at TYPO3\CMS\Frontend\ContentObject\FluidTemplateContentObject->getContentObjectVariables()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/ContentObject/FluidTemplateContentObject.php line 100
$this->setLayoutRootPath($conf);
$this->setPartialRootPath($conf);
$this->setExtbaseVariables($conf);
$this->assignSettings($conf);
$variables = $this->getContentObjectVariables($conf);
$variables = $this->contentDataProcessor->process($this->cObj, $conf, $variables);
$this->view->assignMultiple($variables);
at TYPO3\CMS\Frontend\ContentObject\FluidTemplateContentObject->render()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 815
}
// Render content
try {
$content .= $contentObject->render($configuration);
} catch (ContentRenderingException $exception) {
// Content rendering Exceptions indicate a critical problem which should not be
// caught e.g. when something went wrong with Exception handling itself
throw $exception;
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->render()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 751
$timeTracker->decStackPointer();
} else {
$contentObject = $this->getContentObject($name);
if ($contentObject) {
$content .= $this->render($contentObject, $conf);
}
}
if ($timeTracker->LR) {
$timeTracker->pull($content);
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGetSingle()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 713
foreach ($sKeyArray as $theKey) {
$theValue = $setup[$theKey];
if ((int)$theKey && !str_contains($theKey, '.')) {
$conf = $setup[$theKey . '.'] ?? [];
$contentObjects[] = $this->cObjGetSingle($theValue, $conf, $addKey . $theKey);
}
}
return $contentObjects;
}
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGetSeparated()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 693
{
if (!is_array($setup)) {
return '';
}
return implode('', $this->cObjGetSeparated($setup, $addKey));
}
/**
* Rendering of a "numerical array" of cObjects from TypoScript
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGet()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/Http/RequestHandler.php line 223
* @return string
*/
protected function generatePageBodyContent(TypoScriptFrontendController $controller): string
{
$pageContent = $controller->cObj->cObjGet($controller->pSetup) ?: '';
if ($controller->pSetup['wrap'] ?? false) {
$pageContent = $controller->cObj->wrap($pageContent, $controller->pSetup['wrap']);
}
if ($controller->pSetup['stdWrap.'] ?? false) {
at TYPO3\CMS\Frontend\Http\RequestHandler->generatePageBodyContent()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/Http/RequestHandler.php line 189
protected function generatePageContent(TypoScriptFrontendController $controller, ServerRequestInterface $request): string
{
// Generate the main content between the <body> tags
// This has to be done first, as some additional TSFE-related code could have been written
$pageContent = $this->generatePageBodyContent($controller);
// If 'disableAllHeaderCode' is set, all the pageRenderer settings are not evaluated
if ($controller->config['config']['disableAllHeaderCode'] ?? false) {
return $pageContent;
}
at TYPO3\CMS\Frontend\Http\RequestHandler->generatePageContent()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/Http/RequestHandler.php line 141
// Content generation
$this->timeTracker->incStackPointer();
$this->timeTracker->push($controller->sPre, 'PAGE');
$controller->content = $this->generatePageContent($controller, $request);
$this->timeTracker->pull($this->timeTracker->LR ? $controller->content : '');
$this->timeTracker->decStackPointer();
at TYPO3\CMS\Frontend\Http\RequestHandler->handle()
in /var/www/wmeyer2018/public/typo3conf/ext/web2pdf/Classes/Middleware/PdfHandler.php line 59
{
$pluginParams = $request->getQueryParams()['tx_web2pdf_pi1'] ?? null;
if ($pluginParams === null) {
return $handler->handle($request);
}
if (($pluginParams['argument'] !== ModuleOptions::QUERY_PARAMETER)) {
return $handler->handle($request);
at Mittwald\Web2pdf\Middleware\PdfHandler->process()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$c08->handle()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Middleware/ResponsePropagation.php line 34
{
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
try {
$response = $handler->handle($request);
} catch (PropagateResponseException $e) {
$response = $e->getResponse();
}
at TYPO3\CMS\Core\Middleware\ResponsePropagation->process()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$c08->handle()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/Middleware/OutputCompression.php line 48
// Throw away all output that may have happened during bootstrapping by weird extensions
ob_clean();
// Initialize output compression if configured
$this->initializeOutputCompression();
return $handler->handle($request);
}
/**
* Initialize output compression if configured
at TYPO3\CMS\Frontend\Middleware\OutputCompression->process()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$c08->handle()
in /var/www/wmeyer2018/packages/meyer_base/Classes/Middleware/LanguageRedirect.php line 70
}
}
}
return $handler->handle($request);
}
/**
at MRKD\MeyerBase\Middleware\LanguageRedirect->process()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$c08->handle()
in /var/www/wmeyer2018/public/typo3conf/ext/direct_mail/Classes/Middleware/JumpurlController.php line 154
$queryParamsToPass['juHash'] = $this->calculateJumpUrlHash($jumpurl);
$queryParamsToPass['jumpurl'] = $jumpurl;
}
return $handler->handle($request->withQueryParams($queryParamsToPass));
}
/**
* Returns true of the conditions are met to process this middleware
at DirectMailTeam\DirectMail\Middleware\JumpurlController->process()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$c08->handle()
in /var/www/wmeyer2018/public/typo3/sysext/adminpanel/Classes/Middleware/AdminPanelDataPersister.php line 44
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$response = $handler->handle($request);
if (
$GLOBALS['TSFE'] instanceof TypoScriptFrontendController
&& StateUtility::isActivatedForUser()
&& StateUtility::isActivatedInTypoScript()
at TYPO3\CMS\Adminpanel\Middleware\AdminPanelDataPersister->process()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$c08->handle()
in /var/www/wmeyer2018/public/typo3/sysext/adminpanel/Classes/Middleware/AdminPanelRenderer.php line 45
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$response = $handler->handle($request);
if (
$GLOBALS['TSFE'] instanceof TypoScriptFrontendController
&& StateUtility::isActivatedForUser()
&& StateUtility::isActivatedInTypoScript()
at TYPO3\CMS\Adminpanel\Middleware\AdminPanelRenderer->process()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$c08->handle()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/Middleware/ContentLengthResponseHeader.php line 45
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$response = $handler->handle($request);
if ($GLOBALS['TSFE'] instanceof TypoScriptFrontendController) {
if (
(!isset($GLOBALS['TSFE']->config['config']['enableContentLengthHeader']) || $GLOBALS['TSFE']->config['config']['enableContentLengthHeader'])
&& !$GLOBALS['TSFE']->isBackendUserLoggedIn() && !($GLOBALS['TYPO3_CONF_VARS']['FE']['debug'] ?? false)
at TYPO3\CMS\Frontend\Middleware\ContentLengthResponseHeader->process()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$c08->handle()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/Middleware/ShortcutAndMountPointRedirect.php line 79
);
}
}
return $handler->handle($request);
}
protected function getRedirectUri(ServerRequestInterface $request): ?string
{
at TYPO3\CMS\Frontend\Middleware\ShortcutAndMountPointRedirect->process()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$c08->handle()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/Middleware/PrepareTypoScriptFrontendRendering.php line 78
$this->convertCharsetRecursivelyToUtf8($parsedBody, $controller->metaCharset);
$request = $request->withParsedBody($parsedBody);
}
}
$response = $handler->handle($request);
/**
* Release TSFE locks. They have been acquired in the above call to controller->getFromCache().
* TSFE locks are usually released by the RequestHandler 'final' middleware.
at TYPO3\CMS\Frontend\Middleware\PrepareTypoScriptFrontendRendering->process()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$c08->handle()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/Middleware/TypoScriptFrontendInitialization.php line 104
// Make TSFE globally available
// @todo deprecate $GLOBALS['TSFE'] once TSFE is retrieved from the
// PSR-7 request attribute frontend.controller throughout TYPO3 core
$GLOBALS['TSFE'] = $controller;
return $handler->handle($request);
}
}
at TYPO3\CMS\Frontend\Middleware\TypoScriptFrontendInitialization->process()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$c08->handle()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/Middleware/PageArgumentValidator.php line 132
}
}
$request = $request->withAttribute('noCache', $this->disableCache);
return $handler->handle($request);
}
/**
* Filters out the arguments that are necessary for calculating cHash
at TYPO3\CMS\Frontend\Middleware\PageArgumentValidator->process()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$c08->handle()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/Middleware/PreviewSimulator.php line 66
$previewAspect = GeneralUtility::makeInstance(PreviewAspect::class, $isPreview);
$this->context->setAspect('frontend.preview', $previewAspect);
}
return $handler->handle($request);
}
/**
* Simulate dates for preview functionality
at TYPO3\CMS\Frontend\Middleware\PreviewSimulator->process()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$c08->handle()
in /var/www/wmeyer2018/public/typo3/sysext/adminpanel/Classes/Middleware/SqlLogging.php line 58
if (StateUtility::isActivatedForUser() && StateUtility::isOpen()) {
$connection = $this->connectionPool->getConnectionByName(ConnectionPool::DEFAULT_CONNECTION_NAME);
$connection->getConfiguration()->setSQLLogger(GeneralUtility::makeInstance(DoctrineSqlLogger::class));
}
return $handler->handle($request);
}
}
at TYPO3\CMS\Adminpanel\Middleware\SqlLogging->process()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$c08->handle()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/Middleware/PageResolver.php line 106
// merge the PageArguments with the request query parameters
$queryParams = array_replace_recursive($request->getQueryParams(), $pageArguments->getArguments());
$request = $request->withQueryParams($queryParams);
return $handler->handle($request);
}
}
at TYPO3\CMS\Frontend\Middleware\PageResolver->process()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$c08->handle()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/Middleware/StaticRouteResolver.php line 80
return new HtmlResponse($content, 200, ['Content-Type' => $contentType]);
}
}
return $handler->handle($request);
}
/**
* Find the proper configuration for the static route in the static route configuration. Mainly:
at TYPO3\CMS\Frontend\Middleware\StaticRouteResolver->process()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$c08->handle()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/Middleware/SiteBaseRedirectResolver.php line 94
$uri = $requestedUri->withPath(rtrim($requestedUri->getPath(), '/'));
return new RedirectResponse($uri, 307);
}
}
return $handler->handle($request);
}
/**
* Checks if the language is allowed in Frontend, if not, check if there is valid BE user
at TYPO3\CMS\Frontend\Middleware\SiteBaseRedirectResolver->process()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$c08->handle()
in /var/www/wmeyer2018/public/typo3/sysext/redirects/Classes/Http/Middleware/RedirectHandler.php line 89
return $response;
}
}
return $handler->handle($request);
}
protected function buildRedirectResponse(UriInterface $uri, array $redirectRecord): ResponseInterface
{
at TYPO3\CMS\Redirects\Http\Middleware\RedirectHandler->process()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$c08->handle()
in /var/www/wmeyer2018/public/typo3/sysext/adminpanel/Classes/Middleware/AdminPanelInitiator.php line 55
MainController::class
);
$request = $adminPanelController->initialize($request);
}
return $handler->handle($request);
}
}
at TYPO3\CMS\Adminpanel\Middleware\AdminPanelInitiator->process()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$c08->handle()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/Middleware/FrontendUserAuthenticator.php line 97
if ($this->context->getAspect('frontend.user')->isLoggedIn() && $rateLimiter) {
$rateLimiter->reset();
}
$response = $handler->handle($request);
// Store session data for fe_users if it still exists
if ($frontendUser instanceof FrontendUserAuthentication) {
$frontendUser->storeSessionData();
at TYPO3\CMS\Frontend\Middleware\FrontendUserAuthenticator->process()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$c08->handle()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/Middleware/BackendUserAuthenticator.php line 78
Bootstrap::loadExtTables();
$this->setBackendUserAspect($GLOBALS['BE_USER']);
}
$response = $handler->handle($request);
// If, when building the response, the user is still available, then ensure that the headers are sent properly
if ($this->context->getAspect('backend.user')->isLoggedIn()) {
return $this->applyHeadersToResponse($response);
at TYPO3\CMS\Frontend\Middleware\BackendUserAuthenticator->process()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$c08->handle()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/Middleware/MaintenanceMode.php line 55
) {
return GeneralUtility::makeInstance(ErrorController::class)->unavailableAction($request, 'This page is temporarily unavailable.');
}
// Continue the regular stack if no maintenance mode is active
return $handler->handle($request);
}
}
at TYPO3\CMS\Frontend\Middleware\MaintenanceMode->process()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$c08->handle()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/Middleware/SiteResolver.php line 65
$request = $request->withAttribute('routing', $routeResult);
if ($routeResult->getLanguage() instanceof SiteLanguage) {
Locales::setSystemLocaleFromSiteLanguage($routeResult->getLanguage());
}
return $handler->handle($request);
}
}
at TYPO3\CMS\Frontend\Middleware\SiteResolver->process()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$c08->handle()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/Middleware/EidHandler.php line 64
{
$eID = $request->getParsedBody()['eID'] ?? $request->getQueryParams()['eID'] ?? null;
if ($eID === null) {
return $handler->handle($request);
}
// Remove any output produced until now
ob_clean();
at TYPO3\CMS\Frontend\Middleware\EidHandler->process()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$c08->handle()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Middleware/NormalizedParamsAttribute.php line 45
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$request = $request->withAttribute('normalizedParams', NormalizedParams::createFromRequest($request));
return $handler->handle($request);
}
}
at TYPO3\CMS\Core\Middleware\NormalizedParamsAttribute->process()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$c08->handle()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Middleware/VerifyHostHeader.php line 55
1396795884
);
}
return $handler->handle($request);
}
/**
* Checks if the provided host header value matches the trusted hosts pattern.
at TYPO3\CMS\Core\Middleware\VerifyHostHeader->process()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$c08->handle()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/Middleware/TimeTrackerInitialization.php line 58
$this->timeTracker->setEnabled($timeTrackingEnabled);
$this->timeTracker->start(microtime(true));
$this->timeTracker->push('');
$response = $handler->handle($request);
// Finish time tracking
$this->timeTracker->pull();
$this->timeTracker->finish();
at TYPO3\CMS\Frontend\Middleware\TimeTrackerInitialization->process()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 172
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
return $middleware->process($request, $this->next);
}
};
}
}
at class@anonymous /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$c08->handle()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 78
* @return ResponseInterface
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
return $this->tip->handle($request);
}
/**
* Seed the middleware stack with the inner request handler
at TYPO3\CMS\Core\Http\MiddlewareDispatcher->handle()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/AbstractApplication.php line 86
*/
public function handle(ServerRequestInterface $request): ResponseInterface
{
try {
$response = $this->requestHandler->handle($request);
} catch (ImmediateResponseException $exception) {
$response = $exception->getResponse();
}
return $response;
at TYPO3\CMS\Core\Http\AbstractApplication->handle()
in /var/www/wmeyer2018/public/typo3/sysext/frontend/Classes/Http/Application.php line 69
// Create new request object having applicationType "I am a frontend request" attribute.
$request = $request->withAttribute('applicationType', SystemEnvironmentBuilder::REQUESTTYPE_FE);
$this->initializeContext();
return parent::handle($request);
}
/**
* Create a PSR-7 Response that redirects to the install tool
at TYPO3\CMS\Frontend\Http\Application->handle()
in /var/www/wmeyer2018/public/typo3/sysext/core/Classes/Http/AbstractApplication.php line 100
* @param callable $execute Deprecated, will be removed in TYPO3 v12.0
*/
final public function run(callable $execute = null)
{
$response = $this->handle(ServerRequestFactory::fromGlobals());
if ($execute !== null) {
trigger_error('Custom execution of Application code will be removed in TYPO3 v12.0, use PSR-15 Middlewares instead.', E_USER_DEPRECATED);
$execute();
}
at TYPO3\CMS\Core\Http\AbstractApplication->run()
in /var/www/wmeyer2018/public/index.php line 20
// Set up the application for the frontend
call_user_func(static function () {
$classLoader = require dirname(__DIR__).'/vendor/autoload.php';
\TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(0, \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_FE);
\TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Frontend\Http\Application::class)->run();
});
at {closure}()
in /var/www/wmeyer2018/public/index.php line 21
call_user_func(static function () {
$classLoader = require dirname(__DIR__).'/vendor/autoload.php';
\TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(0, \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_FE);
\TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Frontend\Http\Application::class)->run();
});