Bug #85985
closedError: No pseudo-site found in root line of page 3
100%
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();
Updated by Stefan Froemken about 6 years ago
There is no Site Configuration configured.
Site Configuration has found my Page UID 3 and gives me a button "Add site configuration for new site".
Updated by Stefan Froemken about 6 years ago
I have debugged that error a little bit. TYPO3 has found an old config.yaml in typo3conf./sites/fds/. After deleting it and clearing all caches it works.
Would be cool if TYPO3 will not respect that old file or throws an error that old config does not match page-tree.
Stefan
Updated by Christian Kuhn about 6 years ago
that's a cache issue. i have a partial patch pending for this already with https://review.typo3.org/#/c/58017/ - the fatal is still thrown, but the next class is ok at least. i'm still in contact with benni on how to fix this in a better way.
Updated by Christian Kuhn about 6 years ago
- Has duplicate Bug #85992: Pseudo site not found on new root-level page added
Updated by Gerrit Code Review about 6 years ago
- Status changed from New to Under Review
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58017
Updated by Gerrit Code Review about 6 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58017
Updated by Christian Kuhn about 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c22ed2aaaec20c19f00fba4f61b4f8365a8b91bb.
Updated by Joerg Kummer about 6 years ago
Same Error, when edit a new created page in Workspace
TYPO3 9.5-dev
Updated by Joerg Kummer about 6 years ago
- Related to Bug #86186: No pseudo-site found in root line for workspaces added
Updated by Andreas Steiger about 6 years ago
I also can reproduce the error in 9.5.1.
If I move this 'error'-site in an another root site tree and add pages, the error is gone. The error message is a bug
Updated by Oliver Hader about 6 years ago
@AndreasSteiger: What's the stack track for the exception you get (probably you might want to enable debug context in install tool)?
Updated by Steffen Dietrich about 6 years ago
I could reproduce the error with creating and deleting sites. There's a bugfix available that could do the trick.
https://review.typo3.org/#/c/58896/
Updated by Benni Mack over 5 years ago
- Target version changed from 9 LTS to next-patchlevel
Updated by Philipp Seiler over 5 years ago
- Related to Bug #88586: No pseudo-site found in root line for workspaces added
Updated by Philipp Parzer over 3 years ago
Can reproduce this error in 9.5.26:
Instance has a pagetree Domain1 with subpages.
Create a new page Domain2 as a subpage of Domain1 .
Move page Domain2 to TopLevel.
Error appears.
After clearing the system cache, the error disappears.
But clearing the system cache on Production isn't the best thing to do.