Issue Bug Closed

#100975Undefined property TYPO3\CMS\Linkvalidator\Task\ValidatorTask::$logger

Rémy DANIEL 06/08/23, 06:53 updated 05/28/24, 21:08

Description

I can see this error in logs when a LinkValidator scheduler task is executed :

[ERROR] Warning: Undefined property:
TYPO3\CMS\Linkvalidator\Task\ValidatorTask::$logger

It’s weird because $logger should be available, thanks the trait of the abstract class.
Maybe the serialization/unserialization of the task unsets $logger (see unsetScheduler method in AbstractTask ?).

Note: the error may occur for the first time only if the configuration emailTemplateName was left empty when the task was created. The missing configuration is automatically fixed and the task saved.

Note 2: I have no backtrace of the error

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.