Bug #85985

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

Added by Stefan Froemken over 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Pagetree
Target version:
Start date:
2018-08-27
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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();


Related issues

Related to TYPO3 Core - Bug #86186: No pseudo-site found in root line for workspacesClosed2018-09-07

Actions
Related to TYPO3 Core - Bug #88586: No pseudo-site found in root line for workspacesClosed2019-06-18

Actions
Has duplicate TYPO3 Core - Bug #85992: Pseudo site not found on new root-level pageClosed2018-08-27

Actions
#1

Updated by Stefan Froemken over 2 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".

#2

Updated by Stefan Froemken over 2 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

#3

Updated by Christian Kuhn over 2 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.

#5

Updated by Christian Kuhn over 2 years ago

  • Has duplicate Bug #85992: Pseudo site not found on new root-level page added
#6

Updated by Gerrit Code Review over 2 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

#7

Updated by Gerrit Code Review over 2 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

#8

Updated by Christian Kuhn over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#9

Updated by Joerg Kummer over 2 years ago

Same Error, when edit a new created page in Workspace
TYPO3 9.5-dev

#10

Updated by Joerg Kummer over 2 years ago

  • Related to Bug #86186: No pseudo-site found in root line for workspaces added
#11

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed
#12

Updated by Andreas Steiger over 2 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

#13

Updated by Oliver Hader over 2 years ago

@AndreasSteiger: What's the stack track for the exception you get (probably you might want to enable debug context in install tool)?

#14

Updated by Steffen Dietrich over 2 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/

#15

Updated by Benni Mack almost 2 years ago

  • Target version changed from 9 LTS to next-patchlevel
#16

Updated by Philipp Seiler over 1 year ago

  • Related to Bug #88586: No pseudo-site found in root line for workspaces added

Also available in: Atom PDF