Bug #92550

Core: Exception handler (CLI): Uncaught TYPO3 Exception: Argument 1 passed to TYPO3\CMS\Frontend\Controller\ErrorController::pageNotFoundAction() must implement interface Psr\Http\Message\ServerRequestInterface, null given

Added by limeflavour 10 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-10-13
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hi,

I'm not sure if this is a problem of TYPO3 core or the SOLR index worker task.

Our sys_log fills up with this message:

Core: Exception handler (CLI): Uncaught TYPO3 Exception: Argument 1 passed to TYPO3\CMS\Frontend\Controller\ErrorController::pageNotFoundAction() must implement interface Psr\Http\Message\ServerRequestInterface, null given , called in [..]/public/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php on line 1613 | TypeError thrown in file [...]/public/typo3/sysext/frontend/Classes/Controller/ErrorController.php in line 73

The reason is, that in line 1613 the worker tries to call an page of type "spacer", which should not be called in the first place. The pageNotFoundHandler seems not to work in this section of the code. The scheduler task stops, the indexing never finishes.

Our workaround was to convert all spacer pages to sysfolders.

Best regards
Uwe Michelfelder

Also available in: Atom PDF