Whoops, looks like something went wrong.

Get help in the TYPO3 Documentation

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.

(1/1) #1476107295 TYPO3\CMS\Core\Error\Exception

PHP Warning: file_get_contents(https://apps.bau-bildung.de/bboffice/joboffers/joboffer/stellenanzeigen.html): failed to open stream: HTTP request failed! HTTP/1.1 400 400 in /var/www/bauakademie-sachsen.de/typo3conf/ext/bbsnbakjoboffers/Classes/Controller/JobOfferController.php line 73

in /var/www/typo3_src-10.4.37/typo3/sysext/core/Classes/Error/ErrorHandler.php line 134
            E_DEPRECATED => 'PHP Runtime Deprecation Notice'
        ];
        $message = $errorLevels[$errorLevel] . ': ' . $errorMessage . ' in ' . $errorFile . ' line ' . $errorLine;
        if ($errorLevel & $this->exceptionalErrors) {
            throw new Exception($message, 1476107295);
        }
        switch ($errorLevel) {
            case E_USER_ERROR:
            case E_RECOVERABLE_ERROR:
at TYPO3\CMS\Core\Error\ErrorHandler->handleError()
at file_get_contents()
in /var/www/bauakademie-sachsen.de/typo3conf/ext/bbsnbakjoboffers/Classes/Controller/JobOfferController.php line 73
    {

        $jobOfferId = $jobOffer;
        $url = 'https://apps.bau-bildung.de/bboffice/joboffers/joboffer/' . $jobOfferId; // path to your JSON file
        $data = file_get_contents($url); // put the contents of the file into a variable
        $jobOffer = json_decode($data,true); // decode the JSON feed

        $this->view->assign('jobOffer', $jobOffer);
    }
at Bbsndev\Bbsnbakjoboffers\Controller\JobOfferController->showAction()
in /var/www/typo3_src-10.4.37/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php line 498
        }
        $validationResult = $this->arguments->validate();
        if (!$validationResult->hasErrors()) {
            $this->eventDispatcher->dispatch(new BeforeActionCallEvent(static::class, $this->actionMethodName, $preparedArguments));
            $actionResult = $this->{$this->actionMethodName}(...$preparedArguments);
        } else {
            $actionResult = $this->{$this->errorMethodName}();
        }

at TYPO3\CMS\Extbase\Mvc\Controller\ActionController->callActionMethod()
in /var/www/typo3_src-10.4.37/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php line 426
        $this->view = $this->resolveView();
        if ($this->view !== null) {
            $this->initializeView($this->view);
        }
        $this->callActionMethod();
        $this->renderAssetsForRequest($request);
    }

    /**
at TYPO3\CMS\Extbase\Mvc\Controller\ActionController->processRequest()
in /var/www/typo3_src-10.4.37/typo3/sysext/extbase/Classes/Mvc/Dispatcher.php line 89
                throw new InfiniteLoopException('Could not ultimately dispatch the request after ' . $dispatchLoopCount . ' iterations. Most probably, a @' . IgnoreValidation::class . ' annotation is missing on re-displaying a form with validation errors.', 1217839467);
            }
            $controller = $this->resolveController($request);
            try {
                $controller->processRequest($request, $response);
            } catch (StopActionException $ignoredException) {
            }
        }

at TYPO3\CMS\Extbase\Mvc\Dispatcher->dispatch()
in /var/www/typo3_src-10.4.37/typo3/sysext/extbase/Classes/Mvc/Web/FrontendRequestHandler.php line 66
        }

        /** @var \TYPO3\CMS\Extbase\Mvc\ResponseInterface $response */
        $response = $this->objectManager->get(Response::class);
        $this->dispatcher->dispatch($request, $response);
        return $response;
    }

    /**
at TYPO3\CMS\Extbase\Mvc\Web\FrontendRequestHandler->handleRequest()
in /var/www/typo3_src-10.4.37/typo3/sysext/extbase/Classes/Core/Bootstrap.php line 183
    protected function handleRequest(): string
    {
        $requestHandler = $this->requestHandlerResolver->resolveRequestHandler();

        $response = $requestHandler->handleRequest();
        // If response is NULL after handling the request we need to stop
        // This happens for instance, when a USER object was converted to a USER_INT
        // @see TYPO3\CMS\Extbase\Mvc\Web\FrontendRequestHandler::handleRequest()
        if ($response === null) {
at TYPO3\CMS\Extbase\Core\Bootstrap->handleRequest()
in /var/www/typo3_src-10.4.37/typo3/sysext/extbase/Classes/Core/Bootstrap.php line 173
     */
    public function run(string $content, array $configuration): string
    {
        $this->initialize($configuration);
        return $this->handleRequest();
    }

    /**
     * @return string
at TYPO3\CMS\Extbase\Core\Bootstrap->run()
at call_user_func_array()
in /var/www/typo3_src-10.4.37/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 5720
                if (is_object($classObj) && method_exists($classObj, $parts[1]) && is_callable($callable)) {
                    $classObj->cObj = $this;
                    $content = call_user_func_array($callable, [
                        $content,
                        $conf
                    ]);
                } else {
                    $this->getTimeTracker()->setTSlogMessage('Method "' . $parts[1] . '" did not exist in class "' . $parts[0] . '"', 3);
                }
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->callUserFunction()
in /var/www/typo3_src-10.4.37/typo3/sysext/frontend/Classes/ContentObject/UserContentObject.php line 43
        if ($this->cObj->getUserObjectType() === false) {
            // Come here only if we are not called from $TSFE->processNonCacheableContentPartsAndSubstituteContentMarkers()!
            $this->cObj->setUserObjectType(ContentObjectRenderer::OBJECTTYPE_USER);
        }
        $tempContent = $this->cObj->callUserFunction($conf['userFunc'], $conf, '');
        if ($this->cObj->doConvertToUserIntObject) {
            $this->cObj->doConvertToUserIntObject = false;
            $content = $this->cObj->cObjGetSingle('USER_INT', $conf);
        } else {
at TYPO3\CMS\Frontend\ContentObject\UserContentObject->render()
in /var/www/typo3_src-10.4.37/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 829
        }

        // 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/typo3_src-10.4.37/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 743
                }
                if (!$hooked) {
                    $contentObject = $this->getContentObject($name);
                    if ($contentObject) {
                        $content .= $this->render($contentObject, $conf);
                    } else {
                        // Call hook functions for extra processing
                        if ($name) {
                            if (!empty($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['cObjTypeAndClassDefault'])) {
at TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGetSingle()
in /var/www/typo3_src-10.4.37/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php line 3125
                        case 'COA':
                            $nonCacheableContent = $contentObjectRendererForNonCacheable->cObjGetSingle('COA', $nonCacheableData[$nonCacheableKey]['conf']);
                            break;
                        case 'FUNC':
                            $nonCacheableContent = $contentObjectRendererForNonCacheable->cObjGetSingle('USER', $nonCacheableData[$nonCacheableKey]['conf']);
                            break;
                        case 'POSTUSERFUNC':
                            $nonCacheableContent = $contentObjectRendererForNonCacheable->callUserFunction($nonCacheableData[$nonCacheableKey]['postUserFunc'], $nonCacheableData[$nonCacheableKey]['conf'], $nonCacheableData[$nonCacheableKey]['content']);
                            break;
at TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->processNonCacheableContentPartsAndSubstituteContentMarkers()
in /var/www/typo3_src-10.4.37/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php line 3084
    protected function recursivelyReplaceIntPlaceholdersInContent()
    {
        do {
            $nonCacheableData = $this->config['INTincScript'];
            $this->processNonCacheableContentPartsAndSubstituteContentMarkers($nonCacheableData);
            // Check if there were new items added to INTincScript during the previous execution:
            // array_diff_assoc throws notices if values are arrays but not strings. We suppress this here.
            $nonCacheableData = @array_diff_assoc($this->config['INTincScript'], $nonCacheableData);
            $reprocess = count($nonCacheableData) > 0;
at TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->recursivelyReplaceIntPlaceholdersInContent()
in /var/www/typo3_src-10.4.37/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php line 3053
            $assetCollector = unserialize($this->config['INTincScript_ext']['assetCollector'], ['allowed_classes' => [AssetCollector::class]]);
            GeneralUtility::makeInstance(AssetCollector::class)->updateState($assetCollector->getState());
        }

        $this->recursivelyReplaceIntPlaceholdersInContent();
        $this->getTimeTracker()->push('Substitute header section');
        $this->INTincScript_loadJSCode();
        $this->generatePageTitle();

at TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript()
in /var/www/typo3_src-10.4.37/typo3/sysext/frontend/Classes/Http/RequestHandler.php line 151
                // When page was generated, this was already called. Avoid calling this twice.
                $controller->preparePageContentGeneration($request);
            }
            $this->timeTracker->push('Non-cached objects');
            $controller->INTincScript();
            $this->timeTracker->pull();
        }

        // Create a Response object when sending content
at TYPO3\CMS\Frontend\Http\RequestHandler->handle()
in /var/www/typo3_src-10.4.37/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/typo3_src-10.4.37/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/typo3_src-10.4.37/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$a41->handle()
in /var/www/bauakademie-sachsen.de/typo3conf/ext/vhs/Classes/Middleware/AssetInclusion.php line 18
class AssetInclusion implements MiddlewareInterface
{
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        $response = $handler->handle($request);

        $body = $response->getBody();
        $body->rewind();
        $contents = $body->getContents();
at FluidTYPO3\Vhs\Middleware\AssetInclusion->process()
in /var/www/typo3_src-10.4.37/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/typo3_src-10.4.37/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$a41->handle()
in /var/www/typo3_src-10.4.37/typo3/sysext/adminpanel/Classes/Middleware/AdminPanelDataPersister.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(true)
at TYPO3\CMS\Adminpanel\Middleware\AdminPanelDataPersister->process()
in /var/www/typo3_src-10.4.37/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/typo3_src-10.4.37/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$a41->handle()
in /var/www/typo3_src-10.4.37/typo3/sysext/adminpanel/Classes/Middleware/AdminPanelRenderer.php line 47
     * @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(true)
at TYPO3\CMS\Adminpanel\Middleware\AdminPanelRenderer->process()
in /var/www/typo3_src-10.4.37/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/typo3_src-10.4.37/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$a41->handle()
in /var/www/typo3_src-10.4.37/typo3/sysext/frontend/Classes/Middleware/ContentLengthResponseHeader.php line 47
     * @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(true)) {
at TYPO3\CMS\Frontend\Middleware\ContentLengthResponseHeader->process()
in /var/www/typo3_src-10.4.37/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/typo3_src-10.4.37/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$a41->handle()
in /var/www/typo3_src-10.4.37/typo3/sysext/frontend/Classes/Middleware/ShortcutAndMountPointRedirect.php line 69
                return new RedirectResponse($externalUrl, 303);
            }
        }

        return $handler->handle($request);
    }

    protected function getRedirectUri(ServerRequestInterface $request): ?string
    {
at TYPO3\CMS\Frontend\Middleware\ShortcutAndMountPointRedirect->process()
in /var/www/typo3_src-10.4.37/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/typo3_src-10.4.37/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$a41->handle()
in /var/www/typo3_src-10.4.37/typo3/sysext/frontend/Classes/Middleware/PrepareTypoScriptFrontendRendering.php line 86
                $this->convertCharsetRecursivelyToUtf8($parsedBody, $this->controller->metaCharset);
                $request = $request->withParsedBody($parsedBody);
            }
        }
        return $handler->handle($request);
    }

    /**
     * Small helper function to convert charsets for arrays to UTF-8
at TYPO3\CMS\Frontend\Middleware\PrepareTypoScriptFrontendRendering->process()
in /var/www/typo3_src-10.4.37/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/typo3_src-10.4.37/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$a41->handle()
in /var/www/typo3_src-10.4.37/typo3/sysext/frontend/Classes/Middleware/TypoScriptFrontendInitialization.php line 108
        }

        // Make TSFE globally available
        $GLOBALS['TSFE'] = $controller;
        return $handler->handle($request);
    }

    /**
     * Register the backend user as aspect
at TYPO3\CMS\Frontend\Middleware\TypoScriptFrontendInitialization->process()
in /var/www/typo3_src-10.4.37/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/typo3_src-10.4.37/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$a41->handle()
in /var/www/typo3_src-10.4.37/typo3/sysext/frontend/Classes/Middleware/PageArgumentValidator.php line 131
            }
        }

        $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/typo3_src-10.4.37/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/typo3_src-10.4.37/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$a41->handle()
in /var/www/typo3_src-10.4.37/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/typo3_src-10.4.37/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/typo3_src-10.4.37/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$a41->handle()
in /var/www/typo3_src-10.4.37/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/typo3_src-10.4.37/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/typo3_src-10.4.37/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$a41->handle()
in /var/www/typo3_src-10.4.37/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/typo3_src-10.4.37/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/typo3_src-10.4.37/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$a41->handle()
in /var/www/typo3_src-10.4.37/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/typo3_src-10.4.37/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/typo3_src-10.4.37/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$a41->handle()
in /var/www/typo3_src-10.4.37/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/typo3_src-10.4.37/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/typo3_src-10.4.37/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$a41->handle()
in /var/www/typo3_src-10.4.37/typo3/sysext/redirects/Classes/Http/Middleware/RedirectHandler.php line 102
                unset($GLOBALS['TYPO3_REQUEST']);
            }
        }

        return $handler->handle($request);
    }

    /**
     * Creates a PSR-7 compatible Response object
at TYPO3\CMS\Redirects\Http\Middleware\RedirectHandler->process()
in /var/www/typo3_src-10.4.37/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/typo3_src-10.4.37/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$a41->handle()
in /var/www/typo3_src-10.4.37/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/typo3_src-10.4.37/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/typo3_src-10.4.37/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$a41->handle()
in /var/www/typo3_src-10.4.37/typo3/sysext/frontend/Classes/Middleware/FrontendUserAuthenticator.php line 83
        // Register the frontend user as aspect and within the session
        $this->setFrontendUserAspect($frontendUser);
        $request = $request->withAttribute('frontend.user', $frontendUser);

        $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/typo3_src-10.4.37/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/typo3_src-10.4.37/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$a41->handle()
in /var/www/typo3_src-10.4.37/typo3/sysext/frontend/Classes/Middleware/BackendUserAuthenticator.php line 66
            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/typo3_src-10.4.37/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/typo3_src-10.4.37/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$a41->handle()
in /var/www/typo3_src-10.4.37/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/typo3_src-10.4.37/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/typo3_src-10.4.37/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$a41->handle()
in /var/www/typo3_src-10.4.37/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/typo3_src-10.4.37/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/typo3_src-10.4.37/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$a41->handle()
in /var/www/typo3_src-10.4.37/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/typo3_src-10.4.37/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/typo3_src-10.4.37/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$a41->handle()
in /var/www/typo3_src-10.4.37/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/typo3_src-10.4.37/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/typo3_src-10.4.37/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$a41->handle()
in /var/www/typo3_src-10.4.37/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/typo3_src-10.4.37/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/typo3_src-10.4.37/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$a41->handle()
in /var/www/bauakademie-sachsen.de/typo3conf/ext/vhs/Classes/Middleware/RequestAvailability.php line 14
{
    public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
    {
        $GLOBALS['TYPO3_REQUEST'] = $GLOBALS['TYPO3_REQUEST'] ?? $request;
        return $handler->handle($request);
    }
}
at FluidTYPO3\Vhs\Middleware\RequestAvailability->process()
in /var/www/typo3_src-10.4.37/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/typo3_src-10.4.37/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php:138$a41->handle()
in /var/www/typo3_src-10.4.37/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/typo3_src-10.4.37/typo3/sysext/core/Classes/Http/AbstractApplication.php line 85
     * @return ResponseInterface
     */
    protected function handle(ServerRequestInterface $request): ResponseInterface
    {
        return $this->requestHandler->handle($request);
    }

    /**
     * Set up the application and shut it down afterwards
at TYPO3\CMS\Core\Http\AbstractApplication->handle()
in /var/www/typo3_src-10.4.37/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);
    }

    /**
     * Check if LocalConfiguration.php and PackageStates.php exist
at TYPO3\CMS\Frontend\Http\Application->handle()
in /var/www/typo3_src-10.4.37/typo3/sysext/core/Classes/Http/AbstractApplication.php line 97
    final public function run(callable $execute = null)
    {
        try {
            $response = $this->handle(
                ServerRequestFactory::fromGlobals()
            );
            if ($execute !== null) {
                call_user_func($execute);
            }
at TYPO3\CMS\Core\Http\AbstractApplication->run()
in /var/www/typo3_src-10.4.37/index.php line 25
// Set up the application for the frontend
call_user_func(function () {
    $classLoader = require __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/typo3_src-10.4.37/index.php line 26
call_user_func(function () {
    $classLoader = require __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();
});