#1: PHP Warning: Invalid argument supplied for foreach() in /var/www/vhosts/stb-garrn-nett.de/httpdocs/typo3conf/ext/realurl_404_multilingual/Classes/Hooks/FrontendHook.php line 185 (
More information)
TYPO3\CMS\Core\Error\Exception thrown in file
/var/www/vhosts/stb-garrn-nett.de/httpdocs/typo3/sysext/core/Classes/Error/ErrorHandler.php in line
111.
19 TYPO3\CMS\Core\Error\ErrorHandler::handleError(2, "Invalid argument supplied for foreach()", "/var/www/vhosts/stb-garrn-nett.de/httpdocs/typo3co…rl_404_multilingual/Classes/Hooks/FrontendHook.php", 185, array)
/var/www/vhosts/stb-garrn-nett.de/httpdocs/typo3conf/ext/realurl_404_multilingual/Classes/Hooks/FrontendHook.php:00183:
00184: // find language key
00185: foreach ($typo3_conf_var_realurl['preVars'] as $key => $val) {
00186: if (isset($typo3_conf_var_realurl['preVars'][$key]['GETvar']) && $typo3_conf_var_realurl['preVars'][$key]['GETvar'] == "L") {
00187:
18 WapplerSystems\Realurl404Multilingual\Hooks\FrontendHook::getPageNotFoundUrl("/garrn-und-nett/steuergestaltung/steuergestaltung/", array)
/var/www/vhosts/stb-garrn-nett.de/httpdocs/typo3conf/ext/realurl_404_multilingual/Classes/Hooks/FrontendHook.php:00053: }
00054:
00055: $url404 = $this->getPageNotFoundUrl($currentUrl,$typo3_conf_var_404);
00056:
00057: // header 404
17 WapplerSystems\Realurl404Multilingual\Hooks\FrontendHook::pageErrorHandler(array, TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController)
16 call_user_func_array(array, array)
/var/www/vhosts/stb-garrn-nett.de/httpdocs/typo3/sysext/core/Classes/Utility/GeneralUtility.php:04345: }
04346: // Call method:
04347: $content = call_user_func_array(array(&$classObj, $parts[1]), array(&$params, &$ref));
04348: } else {
04349: $errorMsg = 'No method name \'' . $parts[1] . '\' in class ' . $parts[0];
15 TYPO3\CMS\Core\Utility\GeneralUtility::callUserFunction("EXT:realurl_404_multilingual/Classes/Hooks/Fronten…4Multilingual\Hooks\FrontendHook->pageErrorHandler", array, TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController)
/var/www/vhosts/stb-garrn-nett.de/httpdocs/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)));
14 TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::pageErrorHandler("USER_FUNCTION:EXT:realurl_404_multilingual/Classes…4Multilingual\Hooks\FrontendHook->pageErrorHandler", "HTTP/1.0 404 Not Found", "Segment "steuergestaltung" was not a keyword for a postVarSet as expected on page with id=4.")
/var/www/vhosts/stb-garrn-nett.de/httpdocs/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:02059: public function pageNotFoundHandler($code, $header = '', $reason = '')
02060: {
02061: $this->pageErrorHandler($code, $header, $reason);
02062: }
02063:
13 TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::pageNotFoundHandler("USER_FUNCTION:EXT:realurl_404_multilingual/Classes…4Multilingual\Hooks\FrontendHook->pageErrorHandler", "HTTP/1.0 404 Not Found", "Segment "steuergestaltung" was not a keyword for a postVarSet as expected on page with id=4.")
/var/www/vhosts/stb-garrn-nett.de/httpdocs/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: }
12 TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::pageNotFoundAndExit("Segment "steuergestaltung" was not a keyword for a postVarSet as expected on page with id=4.")
/var/www/vhosts/stb-garrn-nett.de/httpdocs/typo3conf/ext/realurl/class.tx_realurl.php:01704:
01705: // Call handler
01706: $this->pObj->pageNotFoundAndExit($msg);
01707: }
01708:
11 tx_realurl::decodeSpURL_throw404("Segment "steuergestaltung" was not a keyword for a postVarSet as expected on page with id=4.")
/var/www/vhosts/stb-garrn-nett.de/httpdocs/typo3conf/ext/realurl/class.tx_realurl.php:01360: break;
01361: } else {
01362: $this->decodeSpURL_throw404('Segment "' . $key . '" was not a keyword for a postVarSet as expected on page with id=' . $pid . '.');
01363: }
01364: }
10 tx_realurl::decodeSpURL_settingPostVarSets(array, array, 4)
/var/www/vhosts/stb-garrn-nett.de/httpdocs/typo3conf/ext/realurl/class.tx_realurl.php:01157: // Setting "postVarSets"
01158: $postVarSetCfg = $this->getPostVarSetConfig($cachedInfo['id']);
01159: $post_GET_VARS = $this->decodeSpURL_settingPostVarSets($pathParts, $postVarSetCfg, $cachedInfo['id']);
01160:
01161: // Looking for remaining parts
9 tx_realurl::decodeSpURL_doDecode("garrn-und-nett/steuergestaltung/steuergestaltung/", boolean)
/var/www/vhosts/stb-garrn-nett.de/httpdocs/typo3conf/ext/realurl/class.tx_realurl.php:01000: if (!is_array($cachedInfo)) {
01001: // Decode URL
01002: $cachedInfo = $this->decodeSpURL_doDecode($speakingURIpath, $this->extConf['init']['enableCHashCache']);
01003:
01004: // Storing cached information
8 tx_realurl::decodeSpURL(array, TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController)
7 call_user_func_array(array, array)
/var/www/vhosts/stb-garrn-nett.de/httpdocs/typo3/sysext/core/Classes/Utility/GeneralUtility.php:04345: }
04346: // Call method:
04347: $content = call_user_func_array(array(&$classObj, $parts[1]), array(&$params, &$ref));
04348: } else {
04349: $errorMsg = 'No method name \'' . $parts[1] . '\' in class ' . $parts[0];
6 TYPO3\CMS\Core\Utility\GeneralUtility::callUserFunction("EXT:realurl/class.tx_realurl.php:tx_realurl->decodeSpURL", array, TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController)
/var/www/vhosts/stb-garrn-nett.de/httpdocs/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:01175: $_params = array('pObj' => &$this);
01176: foreach ($this->TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['checkAlternativeIdMethods-PostProc'] as $_funcRef) {
01177: GeneralUtility::callUserFunction($_funcRef, $_params, $this);
01178: }
01179: }
5 TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::checkAlternativeIdMethods()
/var/www/vhosts/stb-garrn-nett.de/httpdocs/typo3/sysext/frontend/Classes/Http/RequestHandler.php:00136: $this->bootstrap->loadCachedTca();
00137: }
00138: $this->controller->checkAlternativeIdMethods();
00139: $this->controller->clear_preview();
00140: $this->controller->determineId();
4 TYPO3\CMS\Frontend\Http\RequestHandler::handleRequest(TYPO3\CMS\Core\Http\ServerRequest)
/var/www/vhosts/stb-garrn-nett.de/httpdocs/typo3/sysext/core/Classes/Core/Bootstrap.php:00300:
00301: // Execute the command which returns a Response object or NULL
00302: $this->response = $requestHandler->handleRequest($request);
00303: return $this;
00304: }
3 TYPO3\CMS\Core\Core\Bootstrap::handleRequest(TYPO3\CMS\Core\Http\ServerRequest)
/var/www/vhosts/stb-garrn-nett.de/httpdocs/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) {
2 TYPO3\CMS\Frontend\Http\Application::run()
/var/www/vhosts/stb-garrn-nett.de/httpdocs/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: });
1 {closure}()
/var/www/vhosts/stb-garrn-nett.de/httpdocs/index.php:00032: $classLoader = require rtrim(realpath(__DIR__ . '/typo3'), '\\/') . '/../vendor/autoload.php';
00033: (new \TYPO3\CMS\Frontend\Http\Application($classLoader))->run();
00034: });