Project

General

Profile

Actions

Bug #103428

open

Cannot assign string to property TYPO3\CMS\Linkvalidator\Task\ValidatorTask::$depth of type int

Added by Sir Gecco about 2 months ago. Updated about 1 month ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2024-03-19
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

Actions #1

Updated by Michael Sollmann about 1 month ago

Can confirm this.

Deleting and recreating the linkvalidator task fixes the issue (but does not solve the underlying problem).

Actions #2

Updated by Sir Gecco about 1 month 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.

Actions

Also available in: Atom PDF