#106984Update PageContentErrorHandler.php
Description
Always reconstitute TSFE
There’s always problems with extbase, solr and pagenotfound handling.
When you call persistAll EXT:solr will initialize all Sites, Sites with Root Pages of type Shortcut to Access restricted pages will trigger PageNotFound handling. This will call stashEnvironment. The, always the error `Undefined array key “SERVER_NAME” in vendor/typo3/cms-core/Classes/Middleware/VerifyHostHeader.php line 97` appears and given exceptionalErrors, it will throw an exception which will be catched too late and TSFE is lost.
This issue was automatically created from https://github.com/TYPO3/typo3/pull/566
Reviews 2
History 26
-
Gerrit Code Review pushed patch set 1 for main to change 89914 status
NewUnder Review 06/26/25, 10:36 -
Gerrit Code Review pushed patch set 2 for main to change 89914 06/26/25, 19:42
-
Gerrit Code Review pushed patch set 3 for main to change 89914 06/26/25, 19:44
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 89927 06/26/25, 20:19
-
Anonymous commented and changed status
Under ReviewResolved done0 %100 % 06/26/25, 20:35 -
Benni Mack changed status
ResolvedClosed 12/02/25, 14:37
Applied in changeset commit:265d6e4d2345119628bec955b89eb4606a63754f.