#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 <span data-processor="relativetime" data-value="2025-06-26T10:36:04+00:00" > 06/26/25, 10:36 </span> -
Gerrit Code Review pushed patch set 2 for main to change 89914 <span data-processor="relativetime" data-value="2025-06-26T19:42:28+00:00" > 06/26/25, 19:42 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 89914 <span data-processor="relativetime" data-value="2025-06-26T19:44:50+00:00" > 06/26/25, 19:44 </span>
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 89927 <span data-processor="relativetime" data-value="2025-06-26T20:19:52+00:00" > 06/26/25, 20:19 </span>
-
Anonymous commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2025-06-26T20:35:08+00:00" > 06/26/25, 20:35 </span> -
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2025-12-02T14:37:25+00:00" > 12/02/25, 14:37 </span>
Applied in changeset commit:265d6e4d2345119628bec955b89eb4606a63754f.