Project

General

Profile

Actions

Bug #103428

closed

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

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

Status:
Closed
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 3 months 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 3 months 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 #3

Updated by Georg Ringer about 1 month ago

  • Status changed from New to Closed

with #98453 we move all tasks to commands and get rid of the old syntax.

as I couldn't reproduce the issue I am closing it - hope this is ok for you. feel free to contact me on slack to discuss it if you don't agree

Actions

Also available in: Atom PDF