Advertisement
Guest User

Typo3 routeEnhancer Error

a guest
Jan 21st, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.47 KB | None | 0 0
  1. Whoops, looks like something went wrong.
  2. (1/1) Error
  3. Call to a member function stdWrap() on string
  4.  
  5. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php line 3687
  6. if (isset($this->config['config']['pageTitleSeparator']) && $this->config['config']['pageTitleSeparator'] !== '') {
  7. $pageTitleSeparator = $this->config['config']['pageTitleSeparator'];
  8.  
  9. if (isset($this->config['config']['pageTitleSeparator.']) && is_array($this->config['config']['pageTitleSeparator.'])) {
  10. $pageTitleSeparator = $this->cObj->stdWrap($pageTitleSeparator, $this->config['config']['pageTitleSeparator.']);
  11. } else {
  12. $pageTitleSeparator .= ' ';
  13. }
  14. }
  15. at TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->generatePageTitle()
  16. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php line 3784
  17.  
  18. $this->recursivelyReplaceIntPlaceholdersInContent();
  19. $this->getTimeTracker()->push('Substitute header section');
  20. $this->INTincScript_loadJSCode();
  21. $this->generatePageTitle();
  22.  
  23. $this->content = str_replace(
  24. [
  25. '<!--HD_' . $this->config['INTincScript_ext']['divKey'] . '-->',
  26. at TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript()
  27. in /var/www/vhosts/domain.de/httpdocs/typo3/typo3conf/ext/staticfilecache/Classes/Cache/Rule/ForceStaticCache.php line 61
  28. $frontendController->config['INTincScript'] = [];
  29. }
  30.  
  31. // render the plugins in the output
  32. $frontendController->INTincScript();
  33. }
  34. }
  35. }
  36.  
  37. at SFC\Staticfilecache\Cache\Rule\ForceStaticCache->checkRule(object(TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController), 'https://www.domain.de/sitemap.xml', array(), false)
  38. in /var/www/vhosts/domain.de/httpdocs/typo3/typo3conf/ext/staticfilecache/Classes/Cache/Rule/AbstractRule.php line 30
  39. * @return array
  40. */
  41. public function check(TypoScriptFrontendController $frontendController, string $uri, array $explanation, bool $skipProcessing): array
  42. {
  43. $this->checkRule($frontendController, $uri, $explanation, $skipProcessing);
  44.  
  45. return [
  46. 'frontendController' => $frontendController,
  47. 'uri' => $uri,
  48. at SFC\Staticfilecache\Cache\Rule\AbstractRule->check(object(TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController), 'https://www.domain.de/sitemap.xml', array(), false, 'SFC\\Staticfilecache\\StaticFileCache::cacheRule')
  49. at call_user_func_array(array(object(SFC\Staticfilecache\Cache\Rule\ForceStaticCache), 'check'), array('frontendController' => object(TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController), 'uri' => 'https://www.domain.de/sitemap.xml', 'explanation' => array(), 'skipProcessing' => false, 'SFC\\Staticfilecache\\StaticFileCache::cacheRule'))
  50. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/extbase/Classes/SignalSlot/Dispatcher.php line 155
  51. if ($slotInformation['passSignalInformation'] === true) {
  52. $preparedSlotArguments[] = $signalClassName . '::' . $signalName;
  53. }
  54.  
  55. $slotReturn = call_user_func_array([$object, $slotInformation['method']], $preparedSlotArguments);
  56.  
  57. if ($slotReturn) {
  58. if (!is_array($slotReturn)) {
  59. throw new Exception\InvalidSlotReturnException('The slot method ' . get_class($object) . '->' . $slotInformation['method'] . '()\'s return value is of an not allowed type ('
  60. at TYPO3\CMS\Extbase\SignalSlot\Dispatcher->dispatch('SFC\\Staticfilecache\\StaticFileCache', 'cacheRule', array('frontendController' => object(TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController), 'uri' => 'https://www.domain.de/sitemap.xml', 'explanation' => array(), 'skipProcessing' => false))
  61. in /var/www/vhosts/domain.de/httpdocs/typo3/typo3conf/ext/staticfilecache/Classes/StaticFileCache.php line 206
  62. */
  63. protected function dispatch(string $signalName, array $arguments)
  64. {
  65. try {
  66. return $this->signalDispatcher->dispatch(__CLASS__, $signalName, $arguments);
  67. } catch (\Exception $exception) {
  68. $logger = GeneralUtility::makeInstance(LogManager::class)->getLogger(__CLASS__);
  69. $logger->error('Problems by calling signal: ' . $exception->getMessage() . ' / ' . $exception->getFile() . ':' . $exception->getLine());
  70.  
  71. at SFC\Staticfilecache\StaticFileCache->dispatch('cacheRule', array('frontendController' => object(TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController), 'uri' => 'https://www.domain.de/sitemap.xml', 'explanation' => array(), 'skipProcessing' => false))
  72. in /var/www/vhosts/domain.de/httpdocs/typo3/typo3conf/ext/staticfilecache/Classes/StaticFileCache.php line 95
  73. 'uri' => $uri,
  74. 'explanation' => [],
  75. 'skipProcessing' => false,
  76. ];
  77. $ruleArguments = $this->dispatch('cacheRule', $ruleArguments);
  78. $explanation = (array)$ruleArguments['explanation'];
  79.  
  80. if (!$ruleArguments['skipProcessing']) {
  81. if (0 === $timeOutTime) {
  82. at SFC\Staticfilecache\StaticFileCache->insertPageInCache(object(TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController))
  83. in /var/www/vhosts/domain.de/httpdocs/typo3/typo3conf/ext/staticfilecache/Classes/Hook/Cache/Eofe.php line 26
  84. * @param TypoScriptFrontendController $tsfe
  85. */
  86. public function insert($params, TypoScriptFrontendController $tsfe)
  87. {
  88. $this->getStaticFileCache()->insertPageInCache($tsfe);
  89. }
  90. }
  91. at SFC\Staticfilecache\Hook\Cache\Eofe->insert(array('pObj' => object(TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController)), object(TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController))
  92. at call_user_func_array(array(object(SFC\Staticfilecache\Hook\Cache\Eofe), 'insert'), array(array('pObj' => object(TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController)), object(TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController)))
  93. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Utility/GeneralUtility.php line 3573
  94. // Create object
  95. $classObj = self::makeInstance($parts[0]);
  96. if (method_exists($classObj, $parts[1])) {
  97. // Call method:
  98. $content = call_user_func_array([&$classObj, $parts[1]], [&$params, &$ref]);
  99. } else {
  100. $errorMsg = 'No method name \'' . $parts[1] . '\' in class ' . $parts[0];
  101. throw new \InvalidArgumentException($errorMsg, 1294585865);
  102. }
  103. at TYPO3\CMS\Core\Utility\GeneralUtility::callUserFunction('SFC\\Staticfilecache\\Hook\\Cache\\Eofe->insert', array('pObj' => object(TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController)), object(TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController))
  104. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/frontend/Classes/Http/RequestHandler.php line 225
  105.  
  106. // Hook for "end-of-frontend"
  107. $_params = ['pObj' => &$controller];
  108. foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['hook_eofe'] ?? [] as $_funcRef) {
  109. GeneralUtility::callUserFunction($_funcRef, $_params, $controller);
  110. }
  111.  
  112. // Finish time tracking (started in TYPO3\CMS\Frontend\Middleware\TimeTrackerInitialization)
  113. $this->timeTracker->pull();
  114. at TYPO3\CMS\Frontend\Http\RequestHandler->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
  115. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/frontend/Classes/Middleware/OutputCompression.php line 46
  116. // Throw away all output that may have happened during bootstrapping by weird extensions
  117. ob_clean();
  118. // Initialize output compression if configured
  119. $this->initializeOutputCompression();
  120. return $handler->handle($request);
  121. }
  122.  
  123. /**
  124. * Initialize output compression if configured
  125. at TYPO3\CMS\Frontend\Middleware\OutputCompression->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(TYPO3\CMS\Frontend\Http\RequestHandler))
  126. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
  127.  
  128. if (!$middleware instanceof MiddlewareInterface) {
  129. throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
  130. }
  131. return $middleware->process($request, $this->next);
  132. }
  133. };
  134. }
  135. }
  136. at class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
  137. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/adminpanel/Classes/Middleware/AdminPanelDataPersister.php line 44
  138. * @return ResponseInterface
  139. */
  140. public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
  141. {
  142. $response = $handler->handle($request);
  143. if (
  144. !($response instanceof NullResponse)
  145. && $GLOBALS['TSFE'] instanceof TypoScriptFrontendController
  146. && $GLOBALS['TSFE']->isOutputting()
  147. at TYPO3\CMS\Adminpanel\Middleware\AdminPanelDataPersister->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056))
  148. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
  149.  
  150. if (!$middleware instanceof MiddlewareInterface) {
  151. throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
  152. }
  153. return $middleware->process($request, $this->next);
  154. }
  155. };
  156. }
  157. }
  158. at class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
  159. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/adminpanel/Classes/Middleware/AdminPanelRenderer.php line 46
  160. * @return ResponseInterface
  161. */
  162. public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
  163. {
  164. $response = $handler->handle($request);
  165. if (
  166. !($response instanceof NullResponse)
  167. && $GLOBALS['TSFE'] instanceof TypoScriptFrontendController
  168. && $GLOBALS['TSFE']->isOutputting()
  169. at TYPO3\CMS\Adminpanel\Middleware\AdminPanelRenderer->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056))
  170. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
  171.  
  172. if (!$middleware instanceof MiddlewareInterface) {
  173. throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
  174. }
  175. return $middleware->process($request, $this->next);
  176. }
  177. };
  178. }
  179. }
  180. at class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
  181. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/frontend/Classes/Middleware/ContentLengthResponseHeader.php line 45
  182. * @return ResponseInterface
  183. */
  184. public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
  185. {
  186. $response = $handler->handle($request);
  187. if (
  188. !($response instanceof NullResponse)
  189. && $GLOBALS['TSFE'] instanceof TypoScriptFrontendController
  190. && $GLOBALS['TSFE']->isOutputting()) {
  191. at TYPO3\CMS\Frontend\Middleware\ContentLengthResponseHeader->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056))
  192. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
  193.  
  194. if (!$middleware instanceof MiddlewareInterface) {
  195. throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
  196. }
  197. return $middleware->process($request, $this->next);
  198. }
  199. };
  200. }
  201. }
  202. at class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
  203. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/frontend/Classes/Middleware/ShortcutAndMountPointRedirect.php line 65
  204. return new RedirectResponse($externalUrl, 303);
  205. }
  206. }
  207.  
  208. return $handler->handle($request);
  209. }
  210.  
  211. protected function getRedirectUri(ServerRequestInterface $request): ?string
  212. {
  213. at TYPO3\CMS\Frontend\Middleware\ShortcutAndMountPointRedirect->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056))
  214. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
  215.  
  216. if (!$middleware instanceof MiddlewareInterface) {
  217. throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
  218. }
  219. return $middleware->process($request, $this->next);
  220. }
  221. };
  222. }
  223. }
  224. at class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
  225. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/frontend/Classes/Middleware/PrepareTypoScriptFrontendRendering.php line 118
  226. GeneralUtility::makeInstance($className)->checkDataSubmission($this->controller);
  227. }
  228. }
  229.  
  230. return $handler->handle($request);
  231. }
  232.  
  233. /**
  234. * Small helper function to convert charsets for arrays to UTF-8
  235. at TYPO3\CMS\Frontend\Middleware\PrepareTypoScriptFrontendRendering->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056))
  236. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
  237.  
  238. if (!$middleware instanceof MiddlewareInterface) {
  239. throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
  240. }
  241. return $middleware->process($request, $this->next);
  242. }
  243. };
  244. }
  245. }
  246. at class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
  247. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/frontend/Classes/Middleware/PageArgumentValidator.php line 87
  248. ['code' => PageAccessFailureReasons::CACHEHASH_COMPARISON_FAILED]
  249. );
  250. }
  251. }
  252. return $handler->handle($request);
  253. }
  254.  
  255. /**
  256. * Calculates a hash string based on additional parameters in the url.
  257. at TYPO3\CMS\Frontend\Middleware\PageArgumentValidator->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056))
  258. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
  259.  
  260. if (!$middleware instanceof MiddlewareInterface) {
  261. throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
  262. }
  263. return $middleware->process($request, $this->next);
  264. }
  265. };
  266. }
  267. }
  268. at class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
  269. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/frontend/Classes/Middleware/MaintenanceMode.php line 53
  270. ) {
  271. return GeneralUtility::makeInstance(ErrorController::class)->unavailableAction($request, 'This page is temporarily unavailable.');
  272. }
  273. // Continue the regular stack if no maintenance mode is active
  274. return $handler->handle($request);
  275. }
  276. }
  277. at TYPO3\CMS\Frontend\Middleware\MaintenanceMode->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056))
  278. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
  279.  
  280. if (!$middleware instanceof MiddlewareInterface) {
  281. throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
  282. }
  283. return $middleware->process($request, $this->next);
  284. }
  285. };
  286. }
  287. }
  288. at class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
  289. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/frontend/Classes/Middleware/PageResolver.php line 162
  290. }
  291. $this->controller->determineId();
  292. }
  293.  
  294. return $handler->handle($request);
  295. }
  296.  
  297. /**
  298. * Provides ways to bypass the '?id=[xxx]&type=[xx]' format, using either PATH_INFO or Server Rewrites
  299. at TYPO3\CMS\Frontend\Middleware\PageResolver->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056))
  300. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
  301.  
  302. if (!$middleware instanceof MiddlewareInterface) {
  303. throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
  304. }
  305. return $middleware->process($request, $this->next);
  306. }
  307. };
  308. }
  309. }
  310. at class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
  311. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/redirects/Classes/Http/Middleware/RedirectHandler.php line 70
  312. return $response;
  313. }
  314. }
  315.  
  316. return $handler->handle($request);
  317. }
  318.  
  319. /**
  320. * Creates a PSR-7 compatible Response object
  321. at TYPO3\CMS\Redirects\Http\Middleware\RedirectHandler->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056))
  322. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
  323.  
  324. if (!$middleware instanceof MiddlewareInterface) {
  325. throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
  326. }
  327. return $middleware->process($request, $this->next);
  328. }
  329. };
  330. }
  331. }
  332. at class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
  333. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/frontend/Classes/Middleware/StaticRouteResolver.php line 66
  334.  
  335. return new HtmlResponse($content, 200, ['Content-Type' => $contentType]);
  336. }
  337. }
  338. return $handler->handle($request);
  339. }
  340.  
  341. /**
  342. * @param File $file
  343. at TYPO3\CMS\Frontend\Middleware\StaticRouteResolver->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056))
  344. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
  345.  
  346. if (!$middleware instanceof MiddlewareInterface) {
  347. throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
  348. }
  349. return $middleware->process($request, $this->next);
  350. }
  351. };
  352. }
  353. }
  354. at class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
  355. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/frontend/Classes/Middleware/SiteBaseRedirectResolver.php line 80
  356. $uri = $requestedUri->withPath($requestedUri->getPath() . '/');
  357. return new RedirectResponse($uri, 307);
  358. }
  359. }
  360. return $handler->handle($request);
  361. }
  362. /**
  363. * Checks if the language is allowed in Frontend, if not, check if there is valid BE user
  364. *
  365. at TYPO3\CMS\Frontend\Middleware\SiteBaseRedirectResolver->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056))
  366. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
  367.  
  368. if (!$middleware instanceof MiddlewareInterface) {
  369. throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
  370. }
  371. return $middleware->process($request, $this->next);
  372. }
  373. };
  374. }
  375. }
  376. at class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
  377. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/adminpanel/Classes/Middleware/AdminPanelInitiator.php line 58
  378. $beUser = $GLOBALS['BE_USER'];
  379. $beUser->adminPanel = GeneralUtility::makeInstance(AdminPanelView::class);
  380. $beUser->extAdmEnabled = true;
  381. }
  382. return $handler->handle($request);
  383. }
  384. }
  385. at TYPO3\CMS\Adminpanel\Middleware\AdminPanelInitiator->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056))
  386. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
  387.  
  388. if (!$middleware instanceof MiddlewareInterface) {
  389. throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
  390. }
  391. return $middleware->process($request, $this->next);
  392. }
  393. };
  394. }
  395. }
  396. at class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
  397. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/frontend/Classes/Middleware/SiteResolver.php line 68
  398. // At this point, we later get further route modifiers
  399. // for bw-compat we update $GLOBALS[TYPO3_REQUEST] to be used later in TSFE.
  400. $GLOBALS['TYPO3_REQUEST'] = $request;
  401.  
  402. return $handler->handle($request);
  403. }
  404. }
  405. at TYPO3\CMS\Frontend\Middleware\SiteResolver->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056))
  406. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
  407.  
  408. if (!$middleware instanceof MiddlewareInterface) {
  409. throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
  410. }
  411. return $middleware->process($request, $this->next);
  412. }
  413. };
  414. }
  415. }
  416. at class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
  417. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/adminpanel/Classes/Middleware/SqlLogging.php line 49
  418. $connectionPool = GeneralUtility::makeInstance(ConnectionPool::class);
  419. $connection = $connectionPool->getConnectionByName(ConnectionPool::DEFAULT_CONNECTION_NAME);
  420. $connection->getConfiguration()->setSQLLogger(GeneralUtility::makeInstance(DoctrineSqlLogger::class));
  421. }
  422. return $handler->handle($request);
  423. }
  424. }
  425. at TYPO3\CMS\Adminpanel\Middleware\SqlLogging->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056))
  426. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
  427.  
  428. if (!$middleware instanceof MiddlewareInterface) {
  429. throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
  430. }
  431. return $middleware->process($request, $this->next);
  432. }
  433. };
  434. }
  435. }
  436. at class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
  437. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/frontend/Classes/Middleware/BackendUserAuthenticator.php line 95
  438. Bootstrap::loadExtTables();
  439. $this->setBackendUserAspect(GeneralUtility::makeInstance(Context::class), $GLOBALS['BE_USER']);
  440. }
  441.  
  442. return $handler->handle($request);
  443. }
  444.  
  445. /**
  446. * Creates the backend user object and returns it.
  447. at TYPO3\CMS\Frontend\Middleware\BackendUserAuthenticator->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056))
  448. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
  449.  
  450. if (!$middleware instanceof MiddlewareInterface) {
  451. throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
  452. }
  453. return $middleware->process($request, $this->next);
  454. }
  455. };
  456. }
  457. }
  458. at class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
  459. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/frontend/Classes/Middleware/FrontendUserAuthenticator.php line 79
  460.  
  461. // Register the frontend user as aspect
  462. $this->setFrontendUserAspect(GeneralUtility::makeInstance(Context::class), $frontendUser);
  463.  
  464. return $handler->handle($request);
  465. }
  466.  
  467. /**
  468. * It's possible to transfer a frontend user session via a GET/POST parameter 'FE_SESSION_KEY'.
  469. at TYPO3\CMS\Frontend\Middleware\FrontendUserAuthenticator->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056))
  470. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
  471.  
  472. if (!$middleware instanceof MiddlewareInterface) {
  473. throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
  474. }
  475. return $middleware->process($request, $this->next);
  476. }
  477. };
  478. }
  479. }
  480. at class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
  481. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/frontend/Classes/Middleware/TypoScriptFrontendInitialization.php line 91
  482. GeneralUtility::callUserFunction($_funcRef, $_params, $GLOBALS['TSFE']);
  483. }
  484. }
  485.  
  486. return $handler->handle($request);
  487. }
  488. }
  489. at TYPO3\CMS\Frontend\Middleware\TypoScriptFrontendInitialization->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056))
  490. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
  491.  
  492. if (!$middleware instanceof MiddlewareInterface) {
  493. throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
  494. }
  495. return $middleware->process($request, $this->next);
  496. }
  497. };
  498. }
  499. }
  500. at class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
  501. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/frontend/Classes/Middleware/EidHandler.php line 50
  502. {
  503. $eID = $request->getParsedBody()['eID'] ?? $request->getQueryParams()['eID'] ?? null;
  504.  
  505. if ($eID === null) {
  506. return $handler->handle($request);
  507. }
  508.  
  509. // Remove any output produced until now
  510. ob_clean();
  511. at TYPO3\CMS\Frontend\Middleware\EidHandler->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056))
  512. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
  513.  
  514. if (!$middleware instanceof MiddlewareInterface) {
  515. throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
  516. }
  517. return $middleware->process($request, $this->next);
  518. }
  519. };
  520. }
  521. }
  522. at class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
  523. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/frontend/Classes/Middleware/PreprocessRequestHook.php line 57
  524. $hookParameters = [];
  525. GeneralUtility::callUserFunction($hookFunction, $hookParameters, $hookParameters);
  526. }
  527. }
  528. return $handler->handle($request);
  529. }
  530. }
  531. at TYPO3\CMS\Frontend\Middleware\PreprocessRequestHook->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056))
  532. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
  533.  
  534. if (!$middleware instanceof MiddlewareInterface) {
  535. throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
  536. }
  537. return $middleware->process($request, $this->next);
  538. }
  539. };
  540. }
  541. }
  542. at class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
  543. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Middleware/NormalizedParamsAttribute.php line 58
  544. // refactored to have ServerRequest object available where it is needed. This global will be
  545. // deprecated then and removed.
  546. $GLOBALS['TYPO3_REQUEST'] = $request;
  547.  
  548. return $handler->handle($request);
  549. }
  550. }
  551. at TYPO3\CMS\Core\Middleware\NormalizedParamsAttribute->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056))
  552. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
  553.  
  554. if (!$middleware instanceof MiddlewareInterface) {
  555. throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
  556. }
  557. return $middleware->process($request, $this->next);
  558. }
  559. };
  560. }
  561. }
  562. at class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
  563. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/frontend/Classes/Middleware/TimeTrackerInitialization.php line 49
  564. );
  565. $timeTracker->start();
  566. $timeTracker->push('');
  567.  
  568. return $handler->handle($request);
  569. }
  570. }
  571. at TYPO3\CMS\Frontend\Middleware\TimeTrackerInitialization->process(object(TYPO3\CMS\Core\Http\ServerRequest), object(class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056))
  572. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 138
  573.  
  574. if (!$middleware instanceof MiddlewareInterface) {
  575. throw new \InvalidArgumentException(get_class($middleware) . ' does not implement ' . MiddlewareInterface::class, 1516821342);
  576. }
  577. return $middleware->process($request, $this->next);
  578. }
  579. };
  580. }
  581. }
  582. at class@anonymous/var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php0x7fe7a3951056->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
  583. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php line 67
  584. * @return ResponseInterface
  585. */
  586. public function handle(ServerRequestInterface $request): ResponseInterface
  587. {
  588. return $this->tip->handle($request);
  589. }
  590.  
  591. /**
  592. * Seed the middleware stack with the inner request handler
  593. at TYPO3\CMS\Core\Http\MiddlewareDispatcher->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
  594. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/AbstractApplication.php line 98
  595. {
  596. $requestHandler = GeneralUtility::makeInstance($this->requestHandler);
  597. $dispatcher = $this->createMiddlewareDispatcher($requestHandler);
  598.  
  599. return $dispatcher->handle($request);
  600. }
  601.  
  602. /**
  603. * Set up the application and shut it down afterwards
  604. at TYPO3\CMS\Core\Http\AbstractApplication->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
  605. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/frontend/Classes/Http/Application.php line 69
  606. if (!$this->checkIfEssentialConfigurationExists()) {
  607. return $this->installToolRedirect();
  608. }
  609. $this->initializeContext();
  610. return parent::handle($request);
  611. }
  612.  
  613. /**
  614. * Check if LocalConfiguration.php and PackageStates.php exist
  615. at TYPO3\CMS\Frontend\Http\Application->handle(object(TYPO3\CMS\Core\Http\ServerRequest))
  616. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/typo3/sysext/core/Classes/Http/AbstractApplication.php line 110
  617. final public function run(callable $execute = null)
  618. {
  619. try {
  620. $response = $this->handle(
  621. \TYPO3\CMS\Core\Http\ServerRequestFactory::fromGlobals()
  622. );
  623. if ($execute !== null) {
  624. call_user_func($execute);
  625. }
  626. at TYPO3\CMS\Core\Http\AbstractApplication->run()
  627. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/index.php line 24
  628. // Set up the application for the frontend
  629. call_user_func(function () {
  630. $classLoader = require __DIR__.'/vendor/autoload.php';
  631. \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(0, \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_FE);
  632. \TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Frontend\Http\Application::class)->run();
  633. });
  634. at {closure}()
  635. in /var/www/vhosts/domain.de/httpdocs/typo3_src-9.5.3/index.php line 25
  636. call_user_func(function () {
  637. $classLoader = require __DIR__.'/vendor/autoload.php';
  638. \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(0, \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_FE);
  639. \TYPO3\CMS\Core\Core\Bootstrap::init($classLoader)->get(\TYPO3\CMS\Frontend\Http\Application::class)->run();
  640. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement