Project

General

Profile

Actions

Bug #92550

closed

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 about 4 years ago. Updated 6 months ago.

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

0%

Estimated time:
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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #91733: Core: Exception handler (CLI): Uncaught TYPO3 Exception: Argument 1 passed to TYPO3\CMS\Frontend\Controller\ErrorController::unavailableAction() must implement interface Psr\Http\Message\ServerRequestInterface, null givenClosed2020-07-01

Actions
Actions

Also available in: Atom PDF