Bug #103428
openCannot assign string to property TYPO3\CMS\Linkvalidator\Task\ValidatorTask::$depth of type int
0%
Description
Upgraded typo3 from v10 to v12. All dependencies and requirements are met.
When calling the scheduler in the backend, it isn't possible due to the following error message:
channel: php
details: Core: Exception handler (WEB): Uncaught TYPO3 Exception: Cannot assign string to property TYPO3\CMS\Linkvalidator\Task\ValidatorTask::$depth of type int | TypeError thrown in file typo3_src-12.4.13/typo3/sysext/scheduler/Classes/Task/TaskSerializer.php in line 39. Requested URL: https://www.mywebsite.com/typo3/module/scheduler?token=--AnonymizedToken--
If the scheduler is called via cli:
Uncaught TYPO3 Exception Cannot assign string to property TYPO3\CMS\Linkvalidator\Task\ValidatorTask::$depth of type int
thrown in file /kunden/443353_6533/websites/_source/typo3_src-12.4.13/typo3/sysext/scheduler/Classes/Task/TaskSerializer.php
in line 39
Re-checked the setup, install-wizard etc. Everything else is running without problems. Can someone confirm this behavior? Tried it with a fresh install on a different host with the same result
Updated by Michael Sollmann 27 days ago
Can confirm this.
Deleting and recreating the linkvalidator task fixes the issue (but does not solve the underlying problem).
Updated by Sir Gecco 25 days ago
Michael Sollmann wrote in #note-1:
Can confirm this.
Deleting and recreating the linkvalidator task fixes the issue (but does not solve the underlying problem).
Thanks for the confirmation and the temp solution. Setting the regarding task as deleted in the table "tx_scheduler_task" fixed the issue.