#1: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /srv/www/transinvest.ch/htdocs/typo3conf/ext/realurl_404_multilingual/Classes/Hooks/FrontendHook.php line 227 (
More information)
TYPO3\CMS\Core\Error\Exception thrown in file
/srv/www/transinvest.ch/htdocs/typo3/sysext/core/Classes/Error/ErrorHandler.php in line
111.
15 TYPO3\CMS\Core\Error\ErrorHandler::handleError(2, "count(): Parameter must be an array or an object that implements Countable", "/srv/www/transinvest.ch/htdocs/typo3conf/ext/realu…rl_404_multilingual/Classes/Hooks/FrontendHook.php", 227, array)
14 count(NULL)
/srv/www/transinvest.ch/htdocs/typo3conf/ext/realurl_404_multilingual/Classes/Hooks/FrontendHook.php:00225:
00226: // removes all leading slashes in array
00227: if (count($this->config['redirects']) > 0) {
00228: $redirects = array();
00229: foreach ($this->config['redirects'] as $key => $val) {
13 WapplerSystems\Realurl404Multilingual\Hooks\FrontendHook::getDestinationUrl("/13.0.html?&tx_ttnews%5Btt_news%5D=21&cHash=caa175bb0cd60dd22d5c4966942c117d", "404")
/srv/www/transinvest.ch/htdocs/typo3conf/ext/realurl_404_multilingual/Classes/Hooks/FrontendHook.php:00116: $errorpage = $this->config['errorPage'];
00117: $errorpage = ($errorpage == '' ? '404' : $errorpage);
00118: $destinationUrl = $this->getDestinationUrl($currentUrl, $errorpage);
00119: }
00120:
12 WapplerSystems\Realurl404Multilingual\Hooks\FrontendHook::pageErrorHandler(array, TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController)
11 call_user_func_array(array, array)
/srv/www/transinvest.ch/htdocs/typo3/sysext/core/Classes/Utility/GeneralUtility.php:04386: }
04387: // Call method:
04388: $content = call_user_func_array([&$classObj, $parts[1]], [&$params, &$ref]);
04389: } else {
04390: $errorMsg = 'No method name \'' . $parts[1] . '\' in class ' . $parts[0];
10 TYPO3\CMS\Core\Utility\GeneralUtility::callUserFunction("EXT:realurl_404_multilingual/Classes/Hooks/Fronten…4Multilingual\Hooks\FrontendHook->pageErrorHandler", array, TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController)
/srv/www/transinvest.ch/htdocs/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:02096: 'pageAccessFailureReasons' => $this->getPageAccessFailureReasons()
02097: ];
02098: echo GeneralUtility::callUserFunction($funcRef, $params, $this);
02099: } elseif (GeneralUtility::isFirstPartOfStr($code, 'READFILE:')) {
02100: $readFile = GeneralUtility::getFileAbsFileName(trim(substr($code, 9)));
9 TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::pageErrorHandler("USER_FUNCTION:EXT:realurl_404_multilingual/Classes…4Multilingual\Hooks\FrontendHook->pageErrorHandler", "HTTP/1.0 404 Not Found", "Request parameters could not be validated (&cHash comparison failed)")
/srv/www/transinvest.ch/htdocs/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:02059: public function pageNotFoundHandler($code, $header = '', $reason = '')
02060: {
02061: $this->pageErrorHandler($code, $header, $reason);
02062: }
02063:
8 TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::pageNotFoundHandler("USER_FUNCTION:EXT:realurl_404_multilingual/Classes…4Multilingual\Hooks\FrontendHook->pageErrorHandler", "HTTP/1.0 404 Not Found", "Request parameters could not be validated (&cHash comparison failed)")
/srv/www/transinvest.ch/htdocs/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:02010: {
02011: $header = $header ?: $this->TYPO3_CONF_VARS['FE']['pageNotFound_handling_statheader'];
02012: $this->pageNotFoundHandler($this->TYPO3_CONF_VARS['FE']['pageNotFound_handling'], $header, $reason);
02013: die;
02014: }
7 TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::pageNotFoundAndExit("Request parameters could not be validated (&cHash comparison failed)")
/srv/www/transinvest.ch/htdocs/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:02289: if ($cHash_calc != $this->cHash) {
02290: if ($this->TYPO3_CONF_VARS['FE']['pageNotFoundOnCHashError']) {
02291: $this->pageNotFoundAndExit('Request parameters could not be validated (&cHash comparison failed)');
02292: } else {
02293: $this->disableCache();
6 TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::makeCacheHash()
/srv/www/transinvest.ch/htdocs/typo3/sysext/frontend/Classes/Http/RequestHandler.php:00156: }
00157:
00158: $this->controller->makeCacheHash();
00159: $this->timeTracker->pull();
00160:
5 TYPO3\CMS\Frontend\Http\RequestHandler::handleRequest(TYPO3\CMS\Core\Http\ServerRequest)
/srv/www/transinvest.ch/htdocs/typo3/sysext/core/Classes/Core/Bootstrap.php:00305:
00306: // Execute the command which returns a Response object or NULL
00307: $this->response = $requestHandler->handleRequest($request);
00308: return $this;
00309: }
4 TYPO3\CMS\Core\Core\Bootstrap::handleRequest(TYPO3\CMS\Core\Http\ServerRequest)
/srv/www/transinvest.ch/htdocs/typo3/sysext/frontend/Classes/Http/Application.php:00076: public function run(callable $execute = null)
00077: {
00078: $this->bootstrap->handleRequest(\TYPO3\CMS\Core\Http\ServerRequestFactory::fromGlobals());
00079:
00080: if ($execute !== null) {
3 TYPO3\CMS\Frontend\Http\Application::run()
/srv/www/transinvest.ch/htdocs/index.php:00031: call_user_func(function () {
00032: $classLoader = require rtrim(realpath(__DIR__ . '/typo3'), '\\/') . '/../vendor/autoload.php';
00033: (new \TYPO3\CMS\Frontend\Http\Application($classLoader))->run();
00034: });
2 {closure}()
1 call_user_func(Closure)
/srv/www/transinvest.ch/htdocs/index.php:00032: $classLoader = require rtrim(realpath(__DIR__ . '/typo3'), '\\/') . '/../vendor/autoload.php';
00033: (new \TYPO3\CMS\Frontend\Http\Application($classLoader))->run();
00034: });