If you need help solving this exception, you can have a look at the TYPO3 Documentation. There you can find solutions provided by the TYPO3 community. Once you have found a solution to the problem, help others by contributing to the documentation page.
Find a solution for this exception in the TYPO3 Documentation.
*/ public function get(string $schemaName): TcaSchema { if (!$this->has($schemaName)) { throw new UndefinedSchemaException('No TCA schema exists for the name "' . $schemaName . '".', 1661540376); } if (str_contains($schemaName, '.')) { [$mainSchema, $subSchema] = explode('.', $schemaName, 2); return $this->get($mainSchema)->getSubSchema($subSchema);
{ if (isset($this->tableRelationFieldCache[$tableName])) { return $this->tableRelationFieldCache[$tableName]; } $tableTcaFields = $this->tcaSchemaFactory->get($tableName)->getFields(); $relationFields = []; foreach ($tableTcaFields as $field) { if ($this->isReferenceField($field)) { $relationFields[] = $field->getName();
'keptNodes' => 0, 'deletedNodes' => 0, 'addedNodes' => 0, ]; if ($uid < 1 || $this->shouldExcludeTableFromReferenceIndex($tableName) || empty($this->getTableRelationFields($tableName))) { // Not a valid uid, the table is excluded, or can not contain relations. return $result; } if ($currentRecord === null) {
// Perform reference index updates foreach ($this->updateRegistry as $workspace => $tableArray) { foreach ($tableArray as $table => $uidArray) { foreach ($uidArray as $uid) { $this->referenceIndex->updateRefIndexTable($table, $uid, false, $workspace); } } } $this->updateRegistry = [];
$hookObj->processCmdmap_afterFinish($this); } } if ($this->isOuterMostInstance()) { $this->referenceIndexUpdater->update(); $this->processClearCacheQueue(); $this->resetNestedElementCalls(); } }
$this->tce->setMirror($this->mirror); } // Execute actions: $this->tce->process_datamap(); $this->tce->process_cmdmap(); // Clearing cache: if (!empty($this->cacheCmd)) { $this->tce->clear_cacheCmd($this->cacheCmd); }
{ $this->init($request); $this->initializeClipboard($request); $this->processRequest(); // Write errors to flash message queue $this->tce->printLogErrorMessages(); if ($this->redirect) {
$targetIdentifier = $route->getOption('target'); $target = $this->getCallableFromTarget($targetIdentifier); $arguments = [$request]; return $target(...$arguments); } /** * Evaluates HTTP `Referer` header (which is denied by client to be a custom
// there are Core classes that need the Request object but do not get it handed in $this->resetGlobalsToCurrentRequest($request); try { // Check if the router has the available route and dispatch. return $this->dispatcher->dispatch($request); } catch (MissingRequestTokenException $e) { // When token was missing, then redirect to login, but keep the current route as redirect after login $loginUrl = $this->uriBuilder->buildUriWithRedirect( 'login',
{ public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface { try { $response = $handler->handle($request); } catch (PropagateResponseException $e) { $response = $e->getResponse(); }
if (!$middleware instanceof MiddlewareInterface) { throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342); } return $middleware->process($request, $this->next); } }; } }
$rootLine = BackendUtility::BEgetRootLine($pageId); } $site = $this->siteMatcher->matchByPageId($pageId, $rootLine); $request = $request->withAttribute('site', $site); return $handler->handle($request); } }
if (!$middleware instanceof MiddlewareInterface) { throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342); } return $middleware->process($request, $this->next); } }; } }
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface { try { return $handler->handle($request); } catch (VerificationRequiredException $exception) { return $this->handleVerificationRequired($exception); } catch (RequestGrantedException $exception) { return $this->handleRequestGrantedException($exception);
if (!$middleware instanceof MiddlewareInterface) { throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342); } return $middleware->process($request, $this->next); } }; } }
* Adds HTTP headers defined in $GLOBALS['TYPO3_CONF_VARS']['BE']['HTTP']['Response']['Headers'] */ public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface { $response = $handler->handle($request); // Remove HSTS header, if [BE][lockSSL] is not configured to use SSL if ((bool)$GLOBALS['TYPO3_CONF_VARS']['BE']['lockSSL'] === false) { unset($GLOBALS['TYPO3_CONF_VARS']['BE']['HTTP']['Response']['Headers']['strictTransportSecurity']);
if (!$middleware instanceof MiddlewareInterface) { throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342); } return $middleware->process($request, $this->next); } }; } }
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface { $request = $request->withAttribute('nonce', $this->requestId->nonce); $response = $handler->handle($request); $scope = Scope::backend(); if ($response->hasHeader('Content-Security-Policy') || $response->hasHeader('Content-Security-Policy-Report-Only')) { $this->logger->info('Content-Security-Policy not enforced due to existence of custom header', [
if (!$middleware instanceof MiddlewareInterface) { throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342); } return $middleware->process($request, $this->next); } }; } }
ob_clean(); // Initialize output compression if configured $this->initializeOutputCompression(); return $handler->handle($request); } /** * Initialize output compression if configured
if (!$middleware instanceof MiddlewareInterface) { throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342); } return $middleware->process($request, $this->next); } }; } }
if (!$backendUser || !$route->hasOption('module') || !(($module = $route->getOption('module')) instanceof ModuleInterface) ) { return $handler->handle($request); } // If on a second level module with further sub modules, jump to the third-level modules // (either the last used or the first in the list) and store this selection for the user.
if (!$middleware instanceof MiddlewareInterface) { throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342); } return $middleware->process($request, $this->next); } }; } }
} $GLOBALS['LANG'] = $this->languageServiceFactory->createFromUserPreferences($GLOBALS['BE_USER']); // Re-setting the user and take the workspace from the user object now $this->setBackendUserAspect($GLOBALS['BE_USER']); $response = $handler->handle($request); $this->sessionGarbageCollection(); return $this->enrichResponseWithHeadersAndCookieInformation($request, $response, $GLOBALS['BE_USER']); }
if (!$middleware instanceof MiddlewareInterface) { throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342); } return $middleware->process($request, $this->next); } }; } }
$this->securityAspect->setReceivedRequestToken(false); $this->logger->debug('Could not resolve request token', ['exception' => $exception]); } $response = $handler->handle($request); return $this->enrichResponseWithCookie($request, $response); } protected function resolveNoncePool(ServerRequestInterface $request): NoncePool
if (!$middleware instanceof MiddlewareInterface) { throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342); } return $middleware->process($request, $this->next); } }; } }
$uri = $this->uriBuilder->buildUriFromRoute('login'); return new RedirectResponse($uri); } return $handler->handle($request); } }
if (!$middleware instanceof MiddlewareInterface) { throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342); } return $middleware->process($request, $this->next); } }; } }
// @todo create report, then call persist, then dispatch new event $this->persistCspReport($scope, $request); return new NullResponse(); } return $handler->handle($request); } }
if (!$middleware instanceof MiddlewareInterface) { throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342); } return $middleware->process($request, $this->next); } }; } }
->withPort($sslPortSuffix); return new RedirectResponse($backendUrl); } return $handler->handle($request); } }
if (!$middleware instanceof MiddlewareInterface) { throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342); } return $middleware->process($request, $this->next); } }; } }
$request->getAttribute('normalizedParams')->getRemoteAddress(), trim((string)$GLOBALS['TYPO3_CONF_VARS']['BE']['IPmaskList']) ); return $handler->handle($request); } /** * Check adminOnly configuration variable and redirects to an URL in file
if (!$middleware instanceof MiddlewareInterface) { throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342); } return $middleware->process($request, $this->next); } }; } }
$normalizedParams = $request->getAttribute('normalizedParams', null); if ($normalizedParams === null) { $request = $request->withAttribute('normalizedParams', NormalizedParams::createFromRequest($request)); } return $handler->handle($request); } }
if (!$middleware instanceof MiddlewareInterface) { throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342); } return $middleware->process($request, $this->next); } }; } }
* Invoke the middleware stack */ public function handle(ServerRequestInterface $request): ResponseInterface { return $this->tip->handle($request); } /** * Seed the middleware stack with the inner request handler
public function handle(ServerRequestInterface $request): ResponseInterface { try { $response = $this->requestHandler->handle($request); } catch (ImmediateResponseException $exception) { $response = $exception->getResponse(); } return $response;
} // Set up the initial context $this->initializeContext(); return parent::handle($request); } /** * Initializes the Context used for accessing data and finding out the current state of the application
public function handle(ServerRequestInterface $request): ResponseInterface { if ($this->container->has(BackendApplication::class) && $this->backendEntryPointResolver->isBackendRoute($request)) { return $this->container->get(BackendApplication::class)->handle($request); } if ($this->container->has(FrontendApplication::class)) { return $this->container->get(FrontendApplication::class)->handle($request);
{ public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface { try { $response = $handler->handle($request); } catch (PropagateResponseException $e) { $response = $e->getResponse(); }
if (!$middleware instanceof MiddlewareInterface) { throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342); } return $middleware->process($request, $this->next); } }; } }
$normalizedParams = $request->getAttribute('normalizedParams', null); if ($normalizedParams === null) { $request = $request->withAttribute('normalizedParams', NormalizedParams::createFromRequest($request)); } return $handler->handle($request); } }
if (!$middleware instanceof MiddlewareInterface) { throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342); } return $middleware->process($request, $this->next); } }; } }
1396795884 ); } return $handler->handle($request); } /** * Checks if the provided host header value matches the trusted hosts pattern.
if (!$middleware instanceof MiddlewareInterface) { throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342); } return $middleware->process($request, $this->next); } }; } }
* Invoke the middleware stack */ public function handle(ServerRequestInterface $request): ResponseInterface { return $this->tip->handle($request); } /** * Seed the middleware stack with the inner request handler
public function handle(ServerRequestInterface $request): ResponseInterface { try { $response = $this->requestHandler->handle($request); } catch (ImmediateResponseException $exception) { $response = $exception->getResponse(); } return $response;
if (!Bootstrap::checkIfEssentialConfigurationExists($this->configurationManager)) { return $this->installToolRedirect($request); } return parent::handle($request); } protected function installToolRedirect(ServerRequestInterface $request): ResponseInterface {
* Set up the application and shut it down afterwards */ final public function run() { $response = $this->handle(ServerRequestFactory::fromGlobals()); $this->sendResponse($response); } }
// 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(); \TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Core\Http\Application::class)->run(); });
call_user_func(static function () { $classLoader = require dirname(__DIR__).'/vendor/autoload.php'; \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(); \TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Core\Http\Application::class)->run(); });
}, ['SCRIPT_NAME', 'SCRIPT_FILENAME', 'SCRIPT_URI', 'SCRIPT_URL', 'PHP_SELF'], ); require '../index.php';