Issue Bug Closed

#85985Error: No pseudo-site found in root line of page 3

Stefan Froemken 08/27/18, 08:30 updated 04/28/21, 05:59

Description

Hello Core Team,

I’m just trying TYPO3 9.4.0-dev and started with an empty page-tree. I have created the first page and clicked on it, which results in Error:

#1534710048: No pseudo-site found in root line of page 3

Backtrace:

TYPO3\CMS\Core\Exception\SiteNotFoundException thrown in file
/Users/froemken/htdocs/typo3_src/typo3/sysext/core/Classes/Site/PseudoSiteFinder.php in line 177.

33 TYPO3\CMS\Core\Site\PseudoSiteFinder::getSiteByPageId(3, array)

/Users/froemken/htdocs/typo3_src/typo3/sysext/core/Classes/Routing/SiteMatcher.php:
00168:         } catch (SiteNotFoundException $e) {
00169:             // Check for a pseudo / null site
00170:             return $this->pseudoSiteFinder->getSiteByPageId($pageId, $rootLine);
00171:         }
00172:     }

32 TYPO3\CMS\Core\Routing\SiteMatcher::matchByPageId(3)

/Users/froemken/htdocs/typo3_src/typo3/sysext/backend/Classes/View/PageLayoutView.php:
04405:     protected function resolveSiteLanguages(int $pageId)
04406:     {
04407:         $site = GeneralUtility::makeInstance(SiteMatcher::class)->matchByPageId($pageId);
04408:         $this->siteLanguages = $site->getAvailableLanguages($this->getBackendUser(), false, $pageId);
04409:     }

31 TYPO3\CMS\Backend\View\PageLayoutView::resolveSiteLanguages(3)

/Users/froemken/htdocs/typo3_src/typo3/sysext/backend/Classes/View/PageLayoutView.php:
02980:     public function start($id, $table, $pointer, $search = '', $levels = 0, $showLimit = 0)
02981:     {
02982:         $this->resolveSiteLanguages((int)$id);
02983:         $backendUser = $this->getBackendUser();
02984:         // Setting internal variables:

30 TYPO3\CMS\Backend\View\PageLayoutView::start(3, "tt_content", 0, NULL, NULL, NULL)

/Users/froemken/htdocs/typo3_src/typo3/sysext/backend/Classes/Controller/PageLayoutController.php:
00898:             // Start the dblist object:
00899:             $dbList->itemsLimitSingleTable = 1000;
00900:             $dbList->start($this->id, $table, $this->pointer, $this->search_field, $this->search_levels, $this->showLimit);
00901:             $dbList->counter = $CMcounter;
00902:             $dbList->ext_function = $this->MOD_SETTINGS['function'];

29 TYPO3\CMS\Backend\Controller\PageLayoutController::renderContent()

/Users/froemken/htdocs/typo3_src/typo3/sysext/backend/Classes/Controller/PageLayoutController.php:
00781:                 $content .= '<h1 class="t3js-title-inlineedit">' . htmlspecialchars($this->getLocalizedPageTitle()) . '</h1>';
00782:                 // All other listings
00783:                 $content .= $this->renderContent();

Reviews 2