Closed oliverklee closed 3 years ago
Whoops, looks like something went wrong. (1/1) ArgumentCountError
Too few arguments to function DMK\MkForms\Middleware\AjaxHandler::__construct(), 0 passed in /var/www/html/public/typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 3692 and exactly 1 expected in /var/www/html/public/typo3conf/ext/mkforms/Classes/Middleware/AjaxHandler.php line 50
* @var DispatcherInterface
*/
protected $dispatcher;
public function __construct(DispatcherInterface $dispatcher)
{
$this->dispatcher = $dispatcher;
}
at DMK\MkForms\Middleware\AjaxHandler->__construct() in /var/www/html/public/typo3/sysext/core/Classes/Utility/GeneralUtility.php line 3692
) {
return array_shift(self::$nonSingletonInstances[$finalClassName]);
}
// Create new instance and call constructor with parameters
$instance = new $finalClassName(...$constructorArguments);
// Register new singleton instance
if ($instance instanceof SingletonInterface) {
self::$singletonInstances[$finalClassName] = $instance;
}
at TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('DMK\MkForms\Middleware\AjaxHandler') in /var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 133
}
public function handle(ServerRequestInterface $request): ResponseInterface
{
$middleware = GeneralUtility::makeInstance($this->middleware);
if (!$middleware instanceof MiddlewareInterface) {
throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
}
at class@anonymous/var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056->handle(object(TYPO3\CMS\Core\Http\ServerRequest)) in /var/www/html/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 (
!($response instanceof NullResponse)
&& $GLOBALS['TSFE'] instanceof TypoScriptFrontendController
&& $GLOBALS['TSFE']->isOutputting()
at TYPO3\CMS\Adminpanel\Middleware\AdminPanelDataPersister->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056)) in /var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
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/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056->handle(object(TYPO3\CMS\Core\Http\ServerRequest)) in /var/www/html/public/typo3/sysext/adminpanel/Classes/Middleware/AdminPanelRenderer.php line 46
* @return ResponseInterface
*/
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$response = $handler->handle($request);
if (
!($response instanceof NullResponse)
&& $GLOBALS['TSFE'] instanceof TypoScriptFrontendController
&& $GLOBALS['TSFE']->isOutputting()
at TYPO3\CMS\Adminpanel\Middleware\AdminPanelRenderer->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056)) in /var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
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/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056->handle(object(TYPO3\CMS\Core\Http\ServerRequest)) in /var/www/html/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 (
!($response instanceof NullResponse)
&& $GLOBALS['TSFE'] instanceof TypoScriptFrontendController
&& $GLOBALS['TSFE']->isOutputting()) {
at TYPO3\CMS\Frontend\Middleware\ContentLengthResponseHeader->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056)) in /var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
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/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056->handle(object(TYPO3\CMS\Core\Http\ServerRequest)) in /var/www/html/public/typo3/sysext/frontend/Classes/Middleware/ShortcutAndMountPointRedirect.php line 65
return new RedirectResponse($externalUrl, 303);
}
}
return $handler->handle($request);
}
protected function getRedirectUri(ServerRequestInterface $request): ?string
{
at TYPO3\CMS\Frontend\Middleware\ShortcutAndMountPointRedirect->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056)) in /var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
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/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056->handle(object(TYPO3\CMS\Core\Http\ServerRequest)) in /var/www/html/public/typo3/sysext/frontend/Classes/Middleware/PrepareTypoScriptFrontendRendering.php line 118
GeneralUtility::makeInstance($className)->checkDataSubmission($this->controller);
}
}
return $handler->handle($request);
}
/**
* Small helper function to convert charsets for arrays to UTF-8
at TYPO3\CMS\Frontend\Middleware\PrepareTypoScriptFrontendRendering->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056)) in /var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
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/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056->handle(object(TYPO3\CMS\Core\Http\ServerRequest)) in /var/www/html/public/typo3/sysext/frontend/Classes/Middleware/PageArgumentValidator.php line 99
['code' => PageAccessFailureReasons::CACHEHASH_COMPARISON_FAILED]
);
}
}
return $handler->handle($request);
}
/**
* Calculates a hash string based on additional parameters in the url.
at TYPO3\CMS\Frontend\Middleware\PageArgumentValidator->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056)) in /var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
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/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056->handle(object(TYPO3\CMS\Core\Http\ServerRequest)) in /var/www/html/public/typo3/sysext/frontend/Classes/Middleware/MaintenanceMode.php line 53
) {
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(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056)) in /var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
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/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056->handle(object(TYPO3\CMS\Core\Http\ServerRequest)) in /var/www/html/public/typo3/sysext/frontend/Classes/Middleware/PageResolver.php line 171
}
$this->controller->determineId();
}
return $handler->handle($request);
}
/**
* Provides ways to bypass the '?id=[xxx]&type=[xx]' format, using either PATH_INFO or Server Rewrites
at TYPO3\CMS\Frontend\Middleware\PageResolver->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056)) in /var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
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/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056->handle(object(TYPO3\CMS\Core\Http\ServerRequest)) in /var/www/html/public/typo3/sysext/frontend/Classes/Middleware/StaticRouteResolver.php line 62
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(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056)) in /var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
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/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056->handle(object(TYPO3\CMS\Core\Http\ServerRequest)) in /var/www/html/public/typo3/sysext/frontend/Classes/Middleware/SiteBaseRedirectResolver.php line 86
$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(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056)) in /var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
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/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056->handle(object(TYPO3\CMS\Core\Http\ServerRequest)) in /var/www/html/public/typo3/sysext/frontend/Classes/Middleware/PreviewSimulator.php line 62
$showHiddenRecords = ($this->context->hasAspect('visibility') ? $this->context->getAspect('visibility')->includeHidden() : false);
$GLOBALS['TSFE']->fePreview = ($simulatingDate || $simulatingGroup || $showHiddenRecords);
}
return $handler->handle($request);
}
/**
* Simulate dates for preview functionality
at TYPO3\CMS\Frontend\Middleware\PreviewSimulator->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056)) in /var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
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/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056->handle(object(TYPO3\CMS\Core\Http\ServerRequest)) in /var/www/html/public/typo3/sysext/adminpanel/Classes/Middleware/AdminPanelInitiator.php line 58
$beUser = $GLOBALS['BE_USER'];
$beUser->adminPanel = GeneralUtility::makeInstance(AdminPanelView::class);
$beUser->extAdmEnabled = true;
}
return $handler->handle($request);
}
}
at TYPO3\CMS\Adminpanel\Middleware\AdminPanelInitiator->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056)) in /var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
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/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056->handle(object(TYPO3\CMS\Core\Http\ServerRequest)) in /var/www/html/public/typo3/sysext/frontend/Classes/Middleware/SiteResolver.php line 68
// At this point, we later get further route modifiers
// for bw-compat we update $GLOBALS[TYPO3_REQUEST] to be used later in TSFE.
$GLOBALS['TYPO3_REQUEST'] = $request;
return $handler->handle($request);
}
}
at TYPO3\CMS\Frontend\Middleware\SiteResolver->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056)) in /var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
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/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056->handle(object(TYPO3\CMS\Core\Http\ServerRequest)) in /var/www/html/public/typo3/sysext/adminpanel/Classes/Middleware/SqlLogging.php line 49
$connectionPool = GeneralUtility::makeInstance(ConnectionPool::class);
$connection = $connectionPool->getConnectionByName(ConnectionPool::DEFAULT_CONNECTION_NAME);
$connection->getConfiguration()->setSQLLogger(GeneralUtility::makeInstance(DoctrineSqlLogger::class));
}
return $handler->handle($request);
}
}
at TYPO3\CMS\Adminpanel\Middleware\SqlLogging->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056)) in /var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
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/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056->handle(object(TYPO3\CMS\Core\Http\ServerRequest)) in /var/www/html/public/typo3/sysext/frontend/Classes/Middleware/BackendUserAuthenticator.php line 95
Bootstrap::loadExtTables();
$this->setBackendUserAspect(GeneralUtility::makeInstance(Context::class), $GLOBALS['BE_USER']);
}
return $handler->handle($request);
}
/**
* Creates the backend user object and returns it.
at TYPO3\CMS\Frontend\Middleware\BackendUserAuthenticator->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056)) in /var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
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/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056->handle(object(TYPO3\CMS\Core\Http\ServerRequest)) in /var/www/html/public/typo3/sysext/frontend/Classes/Middleware/FrontendUserAuthenticator.php line 79
// Register the frontend user as aspect
$this->setFrontendUserAspect(GeneralUtility::makeInstance(Context::class), $frontendUser);
return $handler->handle($request);
}
/**
* It's possible to transfer a frontend user session via a GET/POST parameter 'FE_SESSION_KEY'.
at TYPO3\CMS\Frontend\Middleware\FrontendUserAuthenticator->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056)) in /var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
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/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056->handle(object(TYPO3\CMS\Core\Http\ServerRequest)) in /var/www/html/public/typo3/sysext/frontend/Classes/Middleware/TypoScriptFrontendInitialization.php line 90
GeneralUtility::callUserFunction($_funcRef, $_params, $GLOBALS['TSFE']);
}
}
return $handler->handle($request);
}
}
at TYPO3\CMS\Frontend\Middleware\TypoScriptFrontendInitialization->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056)) in /var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
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/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056->handle(object(TYPO3\CMS\Core\Http\ServerRequest)) in /var/www/html/public/typo3/sysext/frontend/Classes/Middleware/EidHandler.php line 50
{
$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(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056)) in /var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
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/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056->handle(object(TYPO3\CMS\Core\Http\ServerRequest)) in /var/www/html/public/typo3/sysext/frontend/Classes/Middleware/PreprocessRequestHook.php line 57
$hookParameters = [];
GeneralUtility::callUserFunction($hookFunction, $hookParameters, $hookParameters);
}
}
return $handler->handle($request);
}
}
at TYPO3\CMS\Frontend\Middleware\PreprocessRequestHook->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056)) in /var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
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/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056->handle(object(TYPO3\CMS\Core\Http\ServerRequest)) in /var/www/html/public/typo3/sysext/core/Classes/Middleware/NormalizedParamsAttribute.php line 58
// refactored to have ServerRequest object available where it is needed. This global will be
// deprecated then and removed.
$GLOBALS['TYPO3_REQUEST'] = $request;
return $handler->handle($request);
}
}
at TYPO3\CMS\Core\Middleware\NormalizedParamsAttribute->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056)) in /var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
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/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056->handle(object(TYPO3\CMS\Core\Http\ServerRequest)) in /var/www/html/public/typo3/sysext/frontend/Classes/Middleware/TimeTrackerInitialization.php line 49
);
$timeTracker->start();
$timeTracker->push('');
return $handler->handle($request);
}
}
at TYPO3\CMS\Frontend\Middleware\TimeTrackerInitialization->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056)) in /var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
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/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7f5c18713056->handle(object(TYPO3\CMS\Core\Http\ServerRequest)) in /var/www/html/public/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 67
* @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(object(TYPO3\CMS\Core\Http\ServerRequest)) in /var/www/html/public/typo3/sysext/core/Classes/Http/AbstractApplication.php line 108
{
$requestHandler = GeneralUtility::makeInstance($this->requestHandler);
$dispatcher = $this->createMiddlewareDispatcher($requestHandler);
return $dispatcher->handle($request);
}
/**
* Set up the application and shut it down afterwards
at TYPO3\CMS\Core\Http\AbstractApplication->handle(object(TYPO3\CMS\Core\Http\ServerRequest)) in /var/www/html/public/typo3/sysext/frontend/Classes/Http/Application.php line 69
if (!$this->checkIfEssentialConfigurationExists()) {
return $this->installToolRedirect();
}
$this->initializeContext();
return parent::handle($request);
}
/**
* Check if LocalConfiguration.php and PackageStates.php exist
at TYPO3\CMS\Frontend\Http\Application->handle(object(TYPO3\CMS\Core\Http\ServerRequest)) in /var/www/html/public/typo3/sysext/core/Classes/Http/AbstractApplication.php line 120
final public function run(callable $execute = null)
{
try {
$response = $this->handle(
\TYPO3\CMS\Core\Http\ServerRequestFactory::fromGlobals()
);
if ($execute !== null) {
call_user_func($execute);
}
at TYPO3\CMS\Core\Http\AbstractApplication->run() in /var/www/html/public/index.php line 24
// Set up the application for the frontend call_user_func(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/html/public/index.php line 25
call_user_func(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(); });
You can test this with commit 4e9b2f20f083f9b3f290713e3e94d51e52eb7571 of my testing distribution: https://github.com/oliverklee/TYPO3-testing-distribution
This problem does not occur with mkforms 9.5.4.