Issue Bug Closed

#106107Unserialize warning in VariableFrontend in PHP 8.3

Tomas Norre Mikkelsen 02/07/25, 06:09 updated 02/11/25, 05:53

Description

Hi.

The TYPO3 Crawler uses Symfony Commmands. I have two commands

$ bin/typo3 crawler:buildQeuue
$ bin/typo3 crawler:processQueue

When I run the `crawler:processQueue` command in PHP 8.2 all good, but with PHP 8.3 I get the following warnings.

tomas@crawler-devbox-web:/var/www/html$ bin/typo3 crawler:processQueue 
PHP Warning:  unserialize(): Error at offset 747 of 17090 bytes in /var/www/html/vendor/typo3/cms-core/Classes/Cache/Frontend/VariableFrontend.php on line 85
PHP Warning:  unserialize(): Error at offset 747 of 17090 bytes in /var/www/html/vendor/typo3/cms-core/Classes/Cache/Frontend/VariableFrontend.php on line 85
PHP Warning:  unserialize(): Error at offset 747 of 17090 bytes in /var/www/html/vendor/typo3/cms-core/Classes/Cache/Frontend/VariableFrontend.php on line 85
PHP Warning:  unserialize(): Error at offset 747 of 17090 bytes in /var/www/html/vendor/typo3/cms-core/Classes/Cache/Frontend/VariableFrontend.php on line 85

This is in the last line of this function.

public function get($entryIdentifier)
{
    if (!$this->isValidEntryIdentifier($entryIdentifier)) {
        throw new \InvalidArgumentException(
            '"' . $entryIdentifier . '" is not a valid cache entry identifier.',
            1233058294
        );
    }
    $rawResult = $this->backend->get($entryIdentifier);
    if ($rawResult === false) {
        return false;
    }
    return $this->backend instanceof TransientBackendInterface ? $rawResult : unserialize($rawResult);
}

I saw it as I was trying to reproduce an error in the TYPO3 Crawler. https://github.com/tomasnorre/crawler/issues/1123, which looks like it’s related, it’s also an `unserialize(): Error at offset`-error, which I haven’t been able to trace back yet.

But looks like it’s related to the PHP version.

Let me know if I can assist in any way.

Reviews 0

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

History 10

  1. Garvin Hicking commented and changed status New Needs Feedback <span data-processor="relativetime" data-value="2025-02-07T07:43:35+00:00" > 02/07/25, 07:43 </span>

    Hi Tomas,

    maybe you could debug it to catch the string that is passed to unserialize() at that point. Maybe there is persisted data with a PHP8.2 serialization that is incompatible to PHP 8.3 serialization? So we could analyze that string at byte 747 to see what might cause this.

    This kind of sounds like https://php.watch/versions/8.3/unserialize-E-WARNING – due to the upgrade from WARNING to ERROR this unserialization of “problematic” input now gets bubbled up.

    (I suppose clearing caches does not fix the situation, and the “bad” serialized data always gets written again, right?)

    Regards,
    Garvin

  2. Tomas Norre Mikkelsen commented <span data-processor="relativetime" data-value="2025-02-08T08:35:11+00:00" > 02/08/25, 08:35 </span>

    First, flushing the cache doesn’t make a different.

    I got it to spit out a stack trace, haven’t manage to get my debugger running yet.

    tomas@crawler-devbox-web:/var/www/html$ bin/typo3 crawler:processQueue
    PHP Warning:  unserialize(): Error at offset 747 of 17090 bytes in /var/www/html/vendor/typo3/cms-core/Classes/Cache/Frontend/VariableFrontend.php on line 85
    PHP Stack trace:
    PHP   1. {main}() /var/www/html/bin/typo3:0
    PHP   2. include() /var/www/html/bin/typo3:119
    PHP   3. {closure:/var/www/html/vendor/typo3/cms-cli/typo3:20-24}() /var/www/html/vendor/typo3/cms-cli/typo3:24
    PHP   4. TYPO3\CMS\Core\Console\CommandApplication->run() /var/www/html/vendor/typo3/cms-cli/typo3:23
    PHP   5. Symfony\Component\Console\Application->run($input = class Symfony\Component\Console\Input\ArgvInput { protected Symfony\Component\Console\Input\InputDefinition $definition = class Symfony\Component\Console\Input\InputDefinition { private array $arguments = [...]; private int $requiredCount = 1; private ?Symfony\Component\Console\Input\InputArgument $lastArrayArgument = NULL; private ?Symfony\Component\Console\Input\InputArgument $lastOptionalArgument = NULL; private array $options = [...]; private array $negations = [...]; private array $shortcuts = [...] }; protected $stream = NULL; protected array $options = []; protected array $arguments = ['command' => 'crawler:processQueue']; protected bool $interactive = TRUE; private array $tokens = [0 => 'crawler:processQueue']; private array $parsed = [] }, $output = class Symfony\Component\Console\Output\ConsoleOutput { private int ${Symfony\Component\Console\Output\Output}verbosity = 32; private Symfony\Component\Console\Formatter\OutputFormatterInterface ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { private array $styles = [...]; private Symfony\Component\Console\Formatter\OutputFormatterStyleStack $styleStack = class Symfony\Component\Console\Formatter\OutputFormatterStyleStack { ... }; private bool $decorated = TRUE }; private ${Symfony\Component\Console\Output\StreamOutput}stream = resource(2) of type (stream); private Symfony\Component\Console\Output\OutputInterface $stderr = class Symfony\Component\Console\Output\StreamOutput { private int ${Symfony\Component\Console\Output\Output}verbosity = 32; private Symfony\Component\Console\Formatter\OutputFormatterInterface ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { ... }; private $stream = resource(3) of type (stream) }; private array $consoleSectionOutputs = [] }) /var/www/html/vendor/typo3/cms-core/Classes/Console/CommandApplication.php:112
    PHP   6. Symfony\Component\Console\Application->doRun($input = class Symfony\Component\Console\Input\ArgvInput { protected Symfony\Component\Console\Input\InputDefinition $definition = class Symfony\Component\Console\Input\InputDefinition { private array $arguments = [...]; private int $requiredCount = 1; private ?Symfony\Component\Console\Input\InputArgument $lastArrayArgument = NULL; private ?Symfony\Component\Console\Input\InputArgument $lastOptionalArgument = NULL; private array $options = [...]; private array $negations = [...]; private array $shortcuts = [...] }; protected $stream = NULL; protected array $options = []; protected array $arguments = ['command' => 'crawler:processQueue']; protected bool $interactive = TRUE; private array $tokens = [0 => 'crawler:processQueue']; private array $parsed = [] }, $output = class Symfony\Component\Console\Output\ConsoleOutput { private int ${Symfony\Component\Console\Output\Output}verbosity = 32; private Symfony\Component\Console\Formatter\OutputFormatterInterface ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { private array $styles = [...]; private Symfony\Component\Console\Formatter\OutputFormatterStyleStack $styleStack = class Symfony\Component\Console\Formatter\OutputFormatterStyleStack { ... }; private bool $decorated = TRUE }; private ${Symfony\Component\Console\Output\StreamOutput}stream = resource(2) of type (stream); private Symfony\Component\Console\Output\OutputInterface $stderr = class Symfony\Component\Console\Output\StreamOutput { private int ${Symfony\Component\Console\Output\Output}verbosity = 32; private Symfony\Component\Console\Formatter\OutputFormatterInterface ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { ... }; private $stream = resource(3) of type (stream) }; private array $consoleSectionOutputs = [] }) /var/www/html/vendor/symfony/console/Application.php:193
    PHP   7. Symfony\Component\Console\Application->doRunCommand($command = class AOE\Crawler\Command\ProcessQueueCommand { private ?Symfony\Component\Console\Application ${Symfony\Component\Console\Command\Command}application = class TYPO3\CMS\Core\Console\Application { private array ${Symfony\Component\Console\Application}commands = [...]; private bool ${Symfony\Component\Console\Application}wantHelps = FALSE; private ?Symfony\Component\Console\Command\Command ${Symfony\Component\Console\Application}runningCommand = ...; private ?Symfony\Component\Console\CommandLoader\CommandLoaderInterface ${Symfony\Component\Console\Application}commandLoader = class TYPO3\CMS\Core\Console\CommandRegistry { ... }; private bool ${Symfony\Component\Console\Application}catchExceptions = TRUE; private bool ${Symfony\Component\Console\Application}catchErrors = FALSE; private bool ${Symfony\Component\Console\Application}autoExit = FALSE; private Symfony\Component\Console\Input\InputDefinition ${Symfony\Component\Console\Application}definition = class Symfony\Component\Console\Input\InputDefinition { ... }; private Symfony\Component\Console\Helper\HelperSet ${Symfony\Component\Console\Application}helperSet = class Symfony\Component\Console\Helper\HelperSet { ... }; private ?Symfony\Contracts\EventDispatcher\EventDispatcherInterface ${Symfony\Component\Console\Application}dispatcher = class TYPO3\CMS\Core\Adapter\EventDispatcherAdapter { ... }; private Symfony\Component\Console\Terminal ${Symfony\Component\Console\Application}terminal = class Symfony\Component\Console\Terminal { ... }; private string ${Symfony\Component\Console\Application}defaultCommand = 'list'; private bool ${Symfony\Component\Console\Application}singleCommand = FALSE; private bool ${Symfony\Component\Console\Application}initialized = TRUE; private ?Symfony\Component\Console\SignalRegistry\SignalRegistry ${Symfony\Component\Console\Application}signalRegistry = class Symfony\Component\Console\SignalRegistry\SignalRegistry { ... }; private array ${Symfony\Component\Console\Application}signalsToDispatchEvent = [...]; private ?int ${Symfony\Component\Console\Application}alarmInterval = NULL; private string ${Symfony\Component\Console\Application}name = 'TYPO3 CMS'; private string ${Symfony\Component\Console\Application}version = '13.4.4' }; private ?string ${Symfony\Component\Console\Command\Command}name = 'crawler:processQueue'; private ?string ${Symfony\Component\Console\Command\Command}processTitle = NULL; private array ${Symfony\Component\Console\Command\Command}aliases = []; private Symfony\Component\Console\Input\InputDefinition ${Symfony\Component\Console\Command\Command}definition = class Symfony\Component\Console\Input\InputDefinition { private array $arguments = [...]; private int $requiredCount = 0; private ?Symfony\Component\Console\Input\InputArgument $lastArrayArgument = NULL; private ?Symfony\Component\Console\Input\InputArgument $lastOptionalArgument = NULL; private array $options = [...]; private array $negations = [...]; private array $shortcuts = [...] }; private bool ${Symfony\Component\Console\Command\Command}hidden = FALSE; private string ${Symfony\Component\Console\Command\Command}help = 'Crawler Command - Crawling the URLs from the queue\n\n\n            Examples:\n              --- Will trigger the crawler which starts to process the queue entries\n              $ typo3 crawler:processqueue --amount 15 --sleepafter 5 --sleeptime 2\n            '; private string ${Symfony\Component\Console\Command\Command}description = 'Trigger the crawler to process the queue entries'; private ?Symfony\Component\Console\Input\InputDefinition ${Symfony\Component\Console\Command\Command}fullDefinition = class Symfony\Component\Console\Input\InputDefinition { private array $arguments = [...]; private int $requiredCount = 1; private ?Symfony\Component\Console\Input\InputArgument $lastArrayArgument = NULL; private ?Symfony\Component\Console\Input\InputArgument $lastOptionalArgument = NULL; private array $options = [...]; private array $negations = [...]; private array $shortcuts = [...] }; private bool ${Symfony\Component\Console\Command\Command}ignoreValidationErrors = FALSE; private ?Closure ${Symfony\Component\Console\Command\Command}code = NULL; private array ${Symfony\Component\Console\Command\Command}synopsis = []; private array ${Symfony\Component\Console\Command\Command}usages = []; private ?Symfony\Component\Console\Helper\HelperSet ${Symfony\Component\Console\Command\Command}helperSet = class Symfony\Component\Console\Helper\HelperSet { private array $helpers = [...] }; private string $processId = '5d9047bcbb902f0d9ff1f5ddfc79040d'; private array $extensionSettings = ['cleanUpOldQueueEntries' => '1', 'cleanUpProcessedAge' => '2', 'cleanUpScheduledAge' => '7', 'countInARun' => '5', 'crawlHiddenPages' => '0', 'enableTimeslot' => '1', 'frontendBasePath' => '/', 'makeDirectRequests' => '0', 'maxCompileUrls' => '10000', 'phpBinary' => 'php', 'phpPath' => '', 'processDebug' => '0', 'processLimit' => '4', 'processMaxRunTime' => '300', 'processVerbose' => '0', 'purgeQueueDays' => '14', 'sleepAfterFinish' => '10', 'sleepTime' => '1000']; private readonly AOE\Crawler\Crawler $crawler = class AOE\Crawler\Crawler { private readonly string $processFilename = '/var/www/html/var/lock/tx_crawler.proc' }; private readonly AOE\Crawler\Controller\CrawlerController $crawlerController = class AOE\Crawler\Controller\CrawlerController { public int $setID = 0; public string $processID = ''; public array $duplicateTrack = [...]; public array $downloadUrls = [...]; public array $incomingProcInstructions = [...]; public array $incomingConfigurationSelection = [...]; public bool $registerQueueEntriesInternallyOnly = FALSE; public array $queueEntries = [...]; public array $urlList = [...]; public array $extensionSettings = [...]; public ?string $MP = NULL; protected AOE\Crawler\Domain\Repository\QueueRepository $queueRepository = class AOE\Crawler\Domain\Repository\QueueRepository { ... }; protected AOE\Crawler\Domain\Repository\ProcessRepository $processRepository = class AOE\Crawler\Domain\Repository\ProcessRepository { ... }; protected AOE\Crawler\Domain\Repository\ConfigurationRepository $configurationRepository = class AOE\Crawler\Domain\Repository\ConfigurationRepository { ... }; protected AOE\Crawler\QueueExecutor $queueExecutor = class AOE\Crawler\QueueExecutor { ... }; protected int $maximumUrlsToCompile = 10000; protected TYPO3\CMS\Core\Imaging\IconFactory $iconFactory = class TYPO3\CMS\Core\Imaging\IconFactory { ... }; private $backendUser = NULL; private int $scheduledTime = 0; private int $reqMinute = 0; private bool $submitCrawlUrls = FALSE; private bool $downloadCrawlUrls = FALSE; private TYPO3\CMS\Core\Domain\Repository\PageRepository $pageRepository = class TYPO3\CMS\Core\Domain\Repository\PageRepository { ... }; private AOE\Crawler\Crawler $crawler = class AOE\Crawler\Crawler { ... }; private AOE\Crawler\Service\ConfigurationService $configurationService = class AOE\Crawler\Service\ConfigurationService { ... }; private AOE\Crawler\Service\UrlService $urlService = class AOE\Crawler\Service\UrlService { ... }; private TYPO3\CMS\Core\EventDispatcher\EventDispatcher $eventDispatcher = class TYPO3\CMS\Core\EventDispatcher\EventDispatcher { ... }; protected ?Psr\Log\LoggerInterface $logger = class TYPO3\CMS\Core\Log\Logger { ... } }; private readonly AOE\Crawler\Domain\Repository\ProcessRepository $processRepository = class AOE\Crawler\Domain\Repository\ProcessRepository { protected TYPO3\CMS\Core\Database\Query\QueryBuilder $queryBuilder = class TYPO3\CMS\Core\Database\Query\QueryBuilder { ... }; protected array $extensionSettings = [...] }; private readonly AOE\Crawler\Domain\Repository\QueueRepository $queueRepository = class AOE\Crawler\Domain\Repository\QueueRepository { protected array $extensionSettings = [...]; protected ?Psr\Log\LoggerInterface $logger = class TYPO3\CMS\Core\Log\Logger { ... } } }, $input = class Symfony\Component\Console\Input\ArgvInput { protected Symfony\Component\Console\Input\InputDefinition $definition = class Symfony\Component\Console\Input\InputDefinition { private array $arguments = [...]; private int $requiredCount = 1; private ?Symfony\Component\Console\Input\InputArgument $lastArrayArgument = NULL; private ?Symfony\Component\Console\Input\InputArgument $lastOptionalArgument = NULL; private array $options = [...]; private array $negations = [...]; private array $shortcuts = [...] }; protected $stream = NULL; protected array $options = []; protected array $arguments = ['command' => 'crawler:processQueue']; protected bool $interactive = TRUE; private array $tokens = [0 => 'crawler:processQueue']; private array $parsed = [] }, $output = class Symfony\Component\Console\Output\ConsoleOutput { private int ${Symfony\Component\Console\Output\Output}verbosity = 32; private Symfony\Component\Console\Formatter\OutputFormatterInterface ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { private array $styles = [...]; private Symfony\Component\Console\Formatter\OutputFormatterStyleStack $styleStack = class Symfony\Component\Console\Formatter\OutputFormatterStyleStack { ... }; private bool $decorated = TRUE }; private ${Symfony\Component\Console\Output\StreamOutput}stream = resource(2) of type (stream); private Symfony\Component\Console\Output\OutputInterface $stderr = class Symfony\Component\Console\Output\StreamOutput { private int ${Symfony\Component\Console\Output\Output}verbosity = 32; private Symfony\Component\Console\Formatter\OutputFormatterInterface ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { ... }; private $stream = resource(3) of type (stream) }; private array $consoleSectionOutputs = [] }) /var/www/html/vendor/symfony/console/Application.php:342
    PHP   8. Symfony\Component\Console\Command\Command->run($input = class Symfony\Component\Console\Input\ArgvInput { protected Symfony\Component\Console\Input\InputDefinition $definition = class Symfony\Component\Console\Input\InputDefinition { private array $arguments = [...]; private int $requiredCount = 1; private ?Symfony\Component\Console\Input\InputArgument $lastArrayArgument = NULL; private ?Symfony\Component\Console\Input\InputArgument $lastOptionalArgument = NULL; private array $options = [...]; private array $negations = [...]; private array $shortcuts = [...] }; protected $stream = NULL; protected array $options = []; protected array $arguments = ['command' => 'crawler:processQueue']; protected bool $interactive = TRUE; private array $tokens = [0 => 'crawler:processQueue']; private array $parsed = [] }, $output = class Symfony\Component\Console\Output\ConsoleOutput { private int ${Symfony\Component\Console\Output\Output}verbosity = 32; private Symfony\Component\Console\Formatter\OutputFormatterInterface ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { private array $styles = [...]; private Symfony\Component\Console\Formatter\OutputFormatterStyleStack $styleStack = class Symfony\Component\Console\Formatter\OutputFormatterStyleStack { ... }; private bool $decorated = TRUE }; private ${Symfony\Component\Console\Output\StreamOutput}stream = resource(2) of type (stream); private Symfony\Component\Console\Output\OutputInterface $stderr = class Symfony\Component\Console\Output\StreamOutput { private int ${Symfony\Component\Console\Output\Output}verbosity = 32; private Symfony\Component\Console\Formatter\OutputFormatterInterface ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { ... }; private $stream = resource(3) of type (stream) }; private array $consoleSectionOutputs = [] }) /var/www/html/vendor/symfony/console/Application.php:1094
    PHP   9. AOE\Crawler\Command\ProcessQueueCommand->execute($input = class Symfony\Component\Console\Input\ArgvInput { protected Symfony\Component\Console\Input\InputDefinition $definition = class Symfony\Component\Console\Input\InputDefinition { private array $arguments = [...]; private int $requiredCount = 1; private ?Symfony\Component\Console\Input\InputArgument $lastArrayArgument = NULL; private ?Symfony\Component\Console\Input\InputArgument $lastOptionalArgument = NULL; private array $options = [...]; private array $negations = [...]; private array $shortcuts = [...] }; protected $stream = NULL; protected array $options = []; protected array $arguments = ['command' => 'crawler:processQueue']; protected bool $interactive = TRUE; private array $tokens = [0 => 'crawler:processQueue']; private array $parsed = [] }, $output = class Symfony\Component\Console\Output\ConsoleOutput { private int ${Symfony\Component\Console\Output\Output}verbosity = 32; private Symfony\Component\Console\Formatter\OutputFormatterInterface ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { private array $styles = [...]; private Symfony\Component\Console\Formatter\OutputFormatterStyleStack $styleStack = class Symfony\Component\Console\Formatter\OutputFormatterStyleStack { ... }; private bool $decorated = TRUE }; private ${Symfony\Component\Console\Output\StreamOutput}stream = resource(2) of type (stream); private Symfony\Component\Console\Output\OutputInterface $stderr = class Symfony\Component\Console\Output\StreamOutput { private int ${Symfony\Component\Console\Output\Output}verbosity = 32; private Symfony\Component\Console\Formatter\OutputFormatterInterface ${Symfony\Component\Console\Output\Output}formatter = class Symfony\Component\Console\Formatter\OutputFormatter { ... }; private $stream = resource(3) of type (stream) }; private array $consoleSectionOutputs = [] }) /var/www/html/vendor/symfony/console/Command/Command.php:279
    PHP  10. AOE\Crawler\Command\ProcessQueueCommand->runProcess($countInARun = 5, $sleepTime = 1000, $sleepAfterFinish = 10) /var/www/html/vendor/tomasnorre/crawler/Classes/Command/ProcessQueueCommand.php:82
    PHP  11. AOE\Crawler\Controller\CrawlerController->readUrl($queueId = 9, $force = FALSE, $processId = '5d9047bcbb902f0d9ff1f5ddfc79040d') /var/www/html/vendor/tomasnorre/crawler/Classes/Command/ProcessQueueCommand.php:178
    PHP  12. AOE\Crawler\Converter\JsonCompatibilityConverter->convert($dataString = '"403 Forbidden"') /var/www/html/vendor/tomasnorre/crawler/Classes/Controller/CrawlerController.php:578
    PHP  13. unserialize($data = '"403 Forbidden"', $options = ['allowed_classes' => FALSE]) /var/www/html/vendor/tomasnorre/crawler/Classes/Converter/JsonCompatibilityConverter.php:53
    PHP  14. TYPO3\CMS\Core\Error\ErrorHandler->handleError($errorLevel = 2, $errorMessage = 'unserialize(): Error at offset 0 of 15 bytes', $errorFile = '/var/www/html/vendor/tomasnorre/crawler/Classes/Converter/JsonCompatibilityConverter.php', $errorLine = 53) /var/www/html/vendor/tomasnorre/crawler/Classes/Converter/JsonCompatibilityConverter.php:53
    PHP  15. TYPO3\CMS\Core\Error\ErrorHandler->writeLog($logMessage = 'Core: Error handler (BE): PHP Warning: unserialize(): Error at offset 0 of 15 bytes in /var/www/html/vendor/tomasnorre/crawler/Classes/Converter/JsonCompatibilityConverter.php line 53', $logLevel = 'warning') /var/www/html/vendor/typo3/cms-core/Classes/Error/ErrorHandler.php:179
    PHP  16. TYPO3\CMS\Core\Database\Connection->insert($tableName = 'sys_log', $data = ['userid' => 0, 'type' => 5, 'channel' => 'php', 'action' => 0, 'error' => 2, 'level' => 'warning', 'details_nr' => 0, 'details' => 'Core: Error handler (BE): PHP Warning: unserialize(): Error at offset 0 of 15 bytes in /var/www/html/vendor/tomasnorre/crawler/Classes/Converter/JsonCompatibilityConverter.php line 53', 'log_data' => '', 'IP' => '', 'tstamp' => 1739003496, 'workspace' => -99], $types = *uninitialized*) /var/www/html/vendor/typo3/cms-core/Classes/Error/ErrorHandler.php:253
    PHP  17. TYPO3\CMS\Core\Database\Connection->ensureDatabaseValueTypes($tableName = 'sys_log', $data = ['userid' => 0, 'type' => 5, 'channel' => 'php', 'action' => 0, 'error' => 2, 'level' => 'warning', 'details_nr' => 0, 'details' => 'Core: Error handler (BE): PHP Warning: unserialize(): Error at offset 0 of 15 bytes in /var/www/html/vendor/tomasnorre/crawler/Classes/Converter/JsonCompatibilityConverter.php line 53', 'log_data' => '', 'IP' => '', 'tstamp' => 1739003496, 'workspace' => -99], $types = []) /var/www/html/vendor/typo3/cms-core/Classes/Database/Connection.php:191
    PHP  18. TYPO3\CMS\Core\Database\Schema\SchemaInformation->introspectTable($tableName = 'sys_log') /var/www/html/vendor/typo3/cms-core/Classes/Database/Connection.php:407
    PHP  19. TYPO3\CMS\Core\Cache\Frontend\VariableFrontend->get($entryIdentifier = 'db-b74fe77ff3ce75c8-table-sys_log') /var/www/html/vendor/typo3/cms-core/Classes/Database/Schema/SchemaInformation.php:95
    PHP  20. unserialize($data = 'O:26:"Doctrine\\DBAL\\Schema\\Table":12:{s:8:"\000*\000_name";s:7:"sys_log";s:13:"\000*\000_namespace";N;s:10:"\000*\000_quoted";b:0;s:11:"\000*\000_columns";a:24:{s:3:"uid";O:27:"Doctrine\\DBAL\\Schema\\Column":16:{s:8:"\000*\000_name";s:3:"uid";s:13:"\000*\000_namespace";N;s:10:"\000*\000_quoted";b:0;s:8:"\000*\000_type";O:31:"Doctrine\\DBAL\\Types\\IntegerType":0:{}s:10:"\000*\000_length";N;s:13:"\000*\000_precision";N;s:9:"\000*\000_scale";i:0;s:12:"\000*\000_unsigned";b:1;s:9:"\000*\000_fixed";b:0;s:11:"\000*\000_notnull";b:1;s:11:"\000*\000_default";N;s:17:"\000*\000_autoincrement";b:1;s:10:"\000*\000_values";'...) /var/www/html/vendor/typo3/cms-core/Classes/Cache/Frontend/VariableFrontend.php:85
    Unprocessed Items remaining:0 (5d9047bcbb902f0d9ff1f5ddfc79040d)

    Line 20, looks like the interesting one.

  3. Garvin Hicking commented <span data-processor="relativetime" data-value="2025-02-08T20:22:00+00:00" > 02/08/25, 20:22 </span>

    Yes, we need the full contents of the string in that error stacktrace line 20. You could edit the function to change from:

        return $this->backend instanceof TransientBackendInterface ? $rawResult : unserialize($rawResult);

    to something like:

        $temporaryFile = GeneralUtility::tempnam('SerialDump');
        GeneralUtility::writeFileToTypo3tempDir($temporaryFile, $rawResult);
        return $this->backend instanceof TransientBackendInterface ? $rawResult : unserialize($rawResult);

    then you can check the created file in your typo3temp file SerialDumpxxx and then we can check what character(s) are there at position 747

  4. Tomas Norre Mikkelsen commented <span data-processor="relativetime" data-value="2025-02-09T06:23:59+00:00" > 02/09/25, 06:23 </span>

    If my editor shows it me correctly, it’s a `e` or `c`

    O:26:"Doctrine\DBAL\Schema\Table":12:{s:8:"*_name";s:16:"tx_crawler_queue";s:13:"*_namespace";N;s:10:"*_quoted";b:0;s:11:"*_columns";a:13:{s:3:"qid";O:27:"Doctrine\DBAL\Schema\Column":16:{s:8:"*_name";s:3:"qid";s:13:"*_namespace";N;s:10:"*_quoted";b:0;s:8:"*_type";O:31:"Doctrine\DBAL\Types\IntegerType":0:{}s:10:"*_length";N;s:13:"*_precision";N;s:9:"*_scale";i:0;s:12:"*_unsigned";b:0;s:9:"*_fixed";b:0;s:11:"*_notnull";b:1;s:11:"*_default";N;s:17:"*_autoincrement";b:1;s:10:"*_values";a:0:{}s:19:"*_platformOptions";a:0:{}s:20:"*_columnDefinition";N;s:11:"*_comment";s:0:"";}s:7:"page_id";O:27:"Doctrine\DBAL\Schema\Column":16:{s:8:"*_name";s:7:"page_id";s:13:"*_namespace";N;s:10:"*_quoted";b:0;s:8:"*_type";r:10;s:10:"*_length";N;s:13:"*_precision";N;s:9:"*_scale";i:0;s:12:"*_unsigned";b:0;s:9:"*_fixed";b:0;s:11:"*_notnull";b:1;s:11:"*_default";s:1:"0";s:17:"*_autoincrement";b:0;s:10:"*_values";a:0:{}s:19:"*_platformOptions";a:0:{}s:20:"*_columnDefinition";N;s:11:"*_comment";s:0:"";}s:10:"parameters";O:27:"Doctrine\DBAL\Schema\Column":16:{s:8:"*_name";s:10:"parameters";s:13:"*_namespace";N;s:10:"*_quoted";b:0;s:8:"*_type";O:28:"Doctrine\DBAL\Types\TextType":0:{}s:10:"*_length";i:65535;s:13:"*_precision";N;s:9:"*_scale";i:0;s:12:"*_unsigned";b:0;s:9:"*_fixed";b:0;s:11:"*_notnull";b:1;s:11:"*_default";N;s:17:"*_autoincrement";b:0;s:10:"*_values";a:0:{}s:19:"*_platformOptions";a:2:{s:7:"charset";s:7:"utf8mb4";s:9:"collation";s:18:"utf8mb4_unicode_ci";}s:20:"*_columnDefinition";N;s:11:"*_comment";s:0:"";}s:15:"parameters_hash";O:27:"Doctrine\DBAL\Schema\Column":16:{s:8:"*_name";s:15:"parameters_hash";s:13:"*_namespace";N;s:10:"*_quoted";b:0;s:8:"*_type";O:30:"Doctrine\DBAL\Types\StringType":0:{}s:10:"*_length";i:50;s:13:"*_precision";N;s:9:"*_scale";i:0;s:12:"*_unsigned";b:0;s:9:"*_fixed";b:0;s:11:"*_notnull";b:1;s:11:"*_default";s:0:"";s:17:"*_autoincrement";b:0;s:10:"*_values";a:0:{}s:19:"*_platformOptions";a:2:{s:7:"charset";s:7:"utf8mb4";s:9:"collation";s:18:"utf8mb4_unicode_ci";}s:20:"*_columnDefinition";N;s:11:"*_comment";s:0:"";}s:18:"configuration_hash";O:27:"Doctrine\DBAL\Schema\Column":16:{s:8:"*_name";s:18:"configuration_hash";s:13:"*_namespace";N;s:10:"*_quoted";b:0;s:8:"*_type";r:63;s:10:"*_length";i:50;s:13:"*_precision";N;s:9:"*_scale";i:0;s:12:"*_unsigned";b:0;s:9:"*_fixed";b:0;s:11:"*_notnull";b:1;s:11:"*_default";s:0:"";s:17:"*_autoincrement";b:0;s:10:"*_values";a:0:{}s:19:"*_platformOptions";a:2:{s:7:"charset";s:7:"utf8mb4";s:9:"collation";s:18:"utf8mb4_unicode_ci";}s:20:"*_columnDefinition";N;s:11:"*_comment";s:0:"";}s:9:"scheduled";O:27:"Doctrine\DBAL\Schema\Column":16:{s:8:"*_name";s:9:"scheduled";s:13:"*_namespace";N;s:10:"*_quoted";b:0;s:8:"*_type";r:10;s:10:"*_length";N;s:13:"*_precision";N;s:9:"*_scale";i:0;s:12:"*_unsigned";b:0;s:9:"*_fixed";b:0;s:11:"*_notnull";b:1;s:11:"*_default";s:1:"0";s:17:"*_autoincrement";b:0;s:10:"*_values";a:0:{}s:19:"*_platformOptions";a:0:{}s:20:"*_columnDefinition";N;s:11:"*_comment";s:0:"";}s:9:"exec_time";O:27:"Doctrine\DBAL\Schema\Column":16:{s:8:"*_name";s:9:"exec_time";s:13:"*_namespace";N;s:10:"*_quoted";b:0;s:8:"*_type";r:10;s:10:"*_length";N;s:13:"*_precision";N;s:9:"*_scale";i:0;s:12:"*_unsigned";b:0;s:9:"*_fixed";b:0;s:11:"*_notnull";b:1;s:11:"*_default";s:1:"0";s:17:"*_autoincrement";b:0;s:10:"*_values";a:0:{}s:19:"*_platformOptions";a:0:{}s:20:"*_columnDefinition";N;s:11:"*_comment";s:0:"";}s:6:"set_id";O:27:"Doctrine\DBAL\Schema\Column":16:{s:8:"*_name";s:6:"set_id";s:13:"*_namespace";N;s:10:"*_quoted";b:0;s:8:"*_type";r:10;s:10:"*_length";N;s:13:"*_precision";N;s:9:"*_scale";i:0;s:12:"*_unsigned";b:0;s:9:"*_fixed";b:0;s:11:"*_notnull";b:1;s:11:"*_default";s:1:"0";s:17:"*_autoincrement";b:0;s:10:"*_values";a:0:{}s:19:"*_platformOptions";a:0:{}s:20:"*_columnDefinition";N;s:11:"*_comment";s:0:"";}s:11:"result_data";O:27:"Doctrine\DBAL\Schema\Column":16:{s:8:"*_name";s:11:"result_data";s:13:"*_namespace";N;s:10:"*_quoted";b:0;s:8:"*_type";r:44;s:10:"*_length";i:0;s:13:"*_precision";N;s:9:"*_scale";i:0;s:12:"*_unsigned";b:0;s:9:"*_fixed";b:0;s:11:"*_notnull";b:1;s:11:"*_default";N;s:17:"*_autoincrement";b:0;s:10:"*_values";a:0:{}s:19:"*_platformOptions";a:2:{s:7:"charset";s:7:"utf8mb4";s:9:"collation";s:18:"utf8mb4_unicode_ci";}s:20:"*_columnDefinition";N;s:11:"*_comment";s:0:"";}s:17:"process_scheduled";O:27:"Doctrine\DBAL\Schema\Column":16:{s:8:"*_name";s:17:"process_scheduled";s:13:"*_namespace";N;s:10:"*_quoted";b:0;s:8:"*_type";r:10;s:10:"*_length";N;s:13:"*_precision";N;s:9:"*_scale";i:0;s:12:"*_unsigned";b:0;s:9:"*_fixed";b:0;s:11:"*_notnull";b:1;s:11:"*_default";s:1:"0";s:17:"*_autoincrement";b:0;s:10:"*_values";a:0:{}s:19:"*_platformOptions";a:0:{}s:20:"*_columnDefinition";N;s:11:"*_comment";s:0:"";}s:10:"process_id";O:27:"Doctrine\DBAL\Schema\Column":16:{s:8:"*_name";s:10:"process_id";s:13:"*_namespace";N;s:10:"*_quoted";b:0;s:8:"*_type";r:63;s:10:"*_length";i:50;s:13:"*_precision";N;s:9:"*_scale";i:0;s:12:"*_unsigned";b:0;s:9:"*_fixed";b:0;s:11:"*_notnull";b:1;s:11:"*_default";s:0:"";s:17:"*_autoincrement";b:0;s:10:"*_values";a:0:{}s:19:"*_platformOptions";a:2:{s:7:"charset";s:7:"utf8mb4";s:9:"collation";s:18:"utf8mb4_unicode_ci";}s:20:"*_columnDefinition";N;s:11:"*_comment";s:0:"";}s:20:"process_id_completed";O:27:"Doctrine\DBAL\Schema\Column":16:{s:8:"*_name";s:20:"process_id_completed";s:13:"*_namespace";N;s:10:"*_quoted";b:0;s:8:"*_type";r:63;s:10:"*_length";i:50;s:13:"*_precision";N;s:9:"*_scale";i:0;s:12:"*_unsigned";b:0;s:9:"*_fixed";b:0;s:11:"*_notnull";b:1;s:11:"*_default";s:0:"";s:17:"*_autoincrement";b:0;s:10:"*_values";a:0:{}s:19:"*_platformOptions";a:2:{s:7:"charset";s:7:"utf8mb4";s:9:"collation";s:18:"utf8mb4_unicode_ci";}s:20:"*_columnDefinition";N;s:11:"*_comment";s:0:"";}s:13:"configuration";O:27:"Doctrine\DBAL\Schema\Column":16:{s:8:"*_name";s:13:"configuration";s:13:"*_namespace";N;s:10:"*_quoted";b:0;s:8:"*_type";r:63;s:10:"*_length";i:250;s:13:"*_precision";N;s:9:"*_scale";i:0;s:12:"*_unsigned";b:0;s:9:"*_fixed";b:0;s:11:"*_notnull";b:1;s:11:"*_default";s:0:"";s:17:"*_autoincrement";b:0;s:10:"*_values";a:0:{}s:19:"*_platformOptions";a:2:{s:7:"charset";s:7:"utf8mb4";s:9:"collation";s:18:"utf8mb4_unicode_ci";}s:20:"*_columnDefinition";N;s:11:"*_comment";s:0:"";}}s:43:"Doctrine\DBAL\Schema\TableimplicitIndexes";a:0:{}s:17:"*renamedColumns";a:0:{}s:11:"*_indexes";a:9:{s:15:"parameters_hash";O:26:"Doctrine\DBAL\Schema\Index":8:{s:8:"*_name";s:15:"parameters_hash";s:13:"*_namespace";N;s:10:"*_quoted";b:0;s:11:"*_columns";a:1:{s:15:"parameters_hash";O:31:"Doctrine\DBAL\Schema\Identifier":3:{s:8:"*_name";s:15:"parameters_hash";s:13:"*_namespace";N;s:10:"*_quoted";b:0;}}s:12:"*_isUnique";b:0;s:13:"*_isPrimary";b:0;s:9:"*_flags";a:0:{}s:35:"Doctrine\DBAL\Schema\Indexoptions";a:0:{}}s:9:"exec_time";O:26:"Doctrine\DBAL\Schema\Index":8:{s:8:"*_name";s:9:"exec_time";s:13:"*_namespace";N;s:10:"*_quoted";b:0;s:11:"*_columns";a:1:{s:9:"exec_time";O:31:"Doctrine\DBAL\Schema\Identifier":3:{s:8:"*_name";s:9:"exec_time";s:13:"*_namespace";N;s:10:"*_quoted";b:0;}}s:12:"*_isUnique";b:0;s:13:"*_isPrimary";b:0;s:9:"*_flags";a:0:{}s:35:"Doctrine\DBAL\Schema\Indexoptions";a:0:{}}s:7:"primary";O:26:"Doctrine\DBAL\Schema\Index":8:{s:8:"*_name";s:7:"PRIMARY";s:13:"*_namespace";N;s:10:"*_quoted";b:0;s:11:"*_columns";a:1:{s:3:"qid";O:31:"Doctrine\DBAL\Schema\Identifier":3:{s:8:"*_name";s:3:"qid";s:13:"*_namespace";N;s:10:"*_quoted";b:0;}}s:12:"*_isUnique";b:1;s:13:"*_isPrimary";b:1;s:9:"*_flags";a:0:{}s:35:"Doctrine\DBAL\Schema\Indexoptions";a:0:{}}s:18:"configuration_hash";O:26:"Doctrine\DBAL\Schema\Index":8:{s:8:"*_name";s:18:"configuration_hash";s:13:"*_namespace";N;s:10:"*_quoted";b:0;s:11:"*_columns";a:1:{s:18:"configuration_hash";O:31:"Doctrine\DBAL\Schema\Identifier":3:{s:8:"*_name";s:18:"configuration_hash";s:13:"*_namespace";N;s:10:"*_quoted";b:0;}}s:12:"*_isUnique";b:0;s:13:"*_isPrimary";b:0;s:9:"*_flags";a:0:{}s:35:"Doctrine\DBAL\Schema\Indexoptions";a:0:{}}s:9:"scheduled";O:26:"Doctrine\DBAL\Schema\Index":8:{s:8:"*_name";s:9:"scheduled";s:13:"*_namespace";N;s:10:"*_quoted";b:0;s:11:"*_columns";a:1:{s:9:"scheduled";O:31:"Doctrine\DBAL\Schema\Identifier":3:{s:8:"*_name";s:9:"scheduled";s:13:"*_namespace";N;s:10:"*_quoted";b:0;}}s:12:"*_isUnique";b:0;s:13:"*_isPrimary";b:0;s:9:"*_flags";a:0:{}s:35:"Doctrine\DBAL\Schema\Indexoptions";a:0:{}}s:7:"page_id";O:26:"Doctrine\DBAL\Schema\Index":8:{s:8:"*_name";s:7:"page_id";s:13:"*_namespace";N;s:10:"*_quoted";b:0;s:11:"*_columns";a:1:{s:7:"page_id";O:31:"Doctrine\DBAL\Schema\Identifier":3:{s:8:"*_name";s:7:"page_id";s:13:"*_namespace";N;s:10:"*_quoted";b:0;}}s:12:"*_isUnique";b:0;s:13:"*_isPrimary";b:0;s:9:"*_flags";a:0:{}s:35:"Doctrine\DBAL\Schema\Indexoptions";a:0:{}}s:7:"cleanup";O:26:"Doctrine\DBAL\Schema\Index":8:{s:8:"*_name";s:7:"cleanup";s:13:"*_namespace";N;s:10:"*_quoted";b:0;s:11:"*_columns";a:2:{s:9:"exec_time";O:31:"Doctrine\DBAL\Schema\Identifier":3:{s:8:"*_name";s:9:"exec_time";s:13:"*_namespace";N;s:10:"*_quoted";b:0;}s:9:"scheduled";O:31:"Doctrine\DBAL\Schema\Identifier":3:{s:8:"*_name";s:9:"scheduled";s:13:"*_namespace";N;s:10:"*_quoted";b:0;}}s:12:"*_isUnique";b:0;s:13:"*_isPrimary";b:0;s:9:"*_flags";a:0:{}s:35:"Doctrine\DBAL\Schema\Indexoptions";a:0:{}}s:10:"process_id";O:26:"Doctrine\DBAL\Schema\Index":8:{s:8:"*_name";s:10:"process_id";s:13:"*_namespace";N;s:10:"*_quoted";b:0;s:11:"*_columns";a:1:{s:10:"process_id";O:31:"Doctrine\DBAL\Schema\Identifier":3:{s:8:"*_name";s:10:"process_id";s:13:"*_namespace";N;s:10:"*_quoted";b:0;}}s:12:"*_isUnique";b:0;s:13:"*_isPrimary";b:0;s:9:"*_flags";a:0:{}s:35:"Doctrine\DBAL\Schema\Indexoptions";a:0:{}}s:6:"set_id";O:26:"Doctrine\DBAL\Schema\Index":8:{s:8:"*_name";s:6:"set_id";s:13:"*_namespace";N;s:10:"*_quoted";b:0;s:11:"*_columns";a:1:{s:6:"set_id";O:31:"Doctrine\DBAL\Schema\Identifier":3:{s:8:"*_name";s:6:"set_id";s:13:"*_namespace";N;s:10:"*_quoted";b:0;}}s:12:"*_isUnique";b:0;s:13:"*_isPrimary";b:0;s:9:"*_flags";a:0:{}s:35:"Doctrine\DBAL\Schema\Indexoptions";a:0:{}}}s:18:"*_primaryKeyName";s:7:"primary";s:20:"*uniqueConstraints";a:0:{}s:17:"*_fkConstraints";a:0:{}s:11:"*_options";a:6:{s:14:"create_options";a:0:{}s:6:"engine";s:6:"InnoDB";s:9:"collation";s:18:"utf8mb4_unicode_ci";s:7:"charset";s:7:"utf8mb4";s:13:"autoincrement";i:1;s:7:"comment";s:0:"";}s:16:"*_schemaConfig";N;}
  5. Garvin Hicking commented <span data-processor="relativetime" data-value="2025-02-10T15:52:36+00:00" > 02/10/25, 15:52 </span>

    This is odd.

    This here is the problem:

    s:8:"*_name"

    it should be:

    s:6:"*_name"

    because it’s 6 characters, and not 8. That’s why PHP complains. There are other array index keys that start with *_ and are allocacted two characters too many. Maybe some magic bytes are stripped here.

    Is maybe a copy+paste process swallowing characters? Or could this be some utf8mb4 thing at play, or maybe some PHP extension for de/serialization? All array keys that do not have this *_ prefix are counted properly.

    Did you only change PHP from 8.2 to 8.3, or did you maybe also change PHP configuration or even the underlying database? Maybe before you used a UTF-8 encoding and now ISO? That could ammount for some characters being calculated with a different amount, like when the cache data is written to a database with a different charset that it’s getting read from?

    What is your TYPO3_CONF_VARS[SYS][caching] setup, anything you changed from the defaults?

  6. Tomas Norre Mikkelsen commented <span data-processor="relativetime" data-value="2025-02-10T16:03:28+00:00" > 02/10/25, 16:03 </span>

    I’m using the crawler devbox, which is based of DDev. https://github.com/tomasnorre/crawler/tree/main/.devbox the only think changed is the `php_version: 8.2` to `php_version: 8.3` in the `.ddev/config.yml`

    My caching config.

    'caching' => [
        'cacheConfigurations' => [
            'hash' => [
                'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend',
            ],
            'imagesizes' => [
                'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend',
            ],
            'pages' => [
                'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend',
            ],
            'rootline' => [
               'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend',
            ],
        ],
    ],

    PHP Modules loaded in the devbox, so more or less “everything”

    tomas@crawler-devbox-web:/var/www/html$ php -m
    [PHP Modules]
    apcu
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    exif
    FFI
    fileinfo
    filter
    ftp
    gd
    gettext
    hash
    iconv
    igbinary
    imagick
    intl
    json
    ldap
    libxml
    mbstring
    memcached
    msgpack
    mysqli
    mysqlnd
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    pdo_pgsql
    pdo_sqlite
    pgsql
    Phar
    posix
    random
    readline
    redis
    Reflection
    session
    shmop
    SimpleXML
    soap
    sockets
    sodium
    SPL
    sqlite3
    standard
    sysvmsg
    sysvsem
    sysvshm
    tokenizer
    uploadprogress
    xml
    xmlreader
    xmlrpc
    xmlwriter
    xsl
    Zend OPcache
    zip
    zlib
    
    [Zend Modules]
    Zend OPcache

    I haven’t touched the database settings or anything else, besides the PHP version.

    As mentioned in the beginning as I created the issue, it only happened to my as I was trying to debug another TYPO3 Crawler issue, so it can be that’s it comming from the crawler. But not sure.

  7. Garvin Hicking commented <span data-processor="relativetime" data-value="2025-02-10T19:55:18+00:00" > 02/10/25, 19:55 </span>

    OK, so with Stefan’s help I recognized that the character difference came because I copied+pasted the strings from here, but this strips “NUL” byte sequences, which are part of the serialized string. So I would need to get a ZIP or so of the string to ensure these sequences are kept.

    I just set-up the devbox from your git repository, first with PHP 8.1. I used these commands:

    bin/typo3 crawler:buildQueue -d 999 1 default
    bin/typo3 crawler:processQueue

    There was an error for the buildQuere, many repetitions of:

    PHP Warning:  include(): Failed opening '/var/www/html/vendor/tomasnorre/crawler/cli/bootstrap.php/index.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/vendor/tomasnorre/crawler/cli/bootstrap.php on line 84
    PHP Warning:  chdir(): Not a directory (errno 20) in /var/www/html/vendor/tomasnorre/crawler/cli/bootstrap.php on line 83
    PHP Warning:  include(/var/www/html/vendor/tomasnorre/crawler/cli/bootstrap.php/index.php): Failed to open stream: No such file or directory in /var/www/html/vendor/tomasnorre/crawler/cli/bootstrap.php on line 84

    but I think this is unrelated. The calls themselves didn’t yield other error messages.

    Then I executed ddev delete, changed to PHP 8.3, and tried the same again. With the same results.

    Somehow I believe that you may have persisted data from the PHP 8.1 cache in effect after your upgrade to PHP 8.3. In the crawler code I couldn’t see any custom code calls that might persist serialized data on its own. So actually clearing the caches should result in all serialized data getting deleted and re-created.

    So I’m a bit stumped on how to reproduce this. Are the steps I performed the right ones to reproduce exactly what you did (I guess not)?

  8. Tomas Norre Mikkelsen commented <span data-processor="relativetime" data-value="2025-02-10T20:17:45+00:00" > 02/10/25, 20:17 </span>

    I cannot reproduce it with theses steps either, so you are most likely right, it’s a left over in DB.

    cd /tmp
    git clone git@github.com:tomasnorre/crawler crawler
    cd crawler/.devbox
    ddev start
    ddev ssh
    bin/typo3 crawler:buildQueue 1 default -d 999
    bin/typo3 crawler:processQueue
    exit
    ddev delete
    
    # change .ddev/config.yml to `php_version: 8.3`
    ddev start
    ddev ssh
    bin/typo3 crawler:buildQueue 1 default -d 999
    bin/typo3 crawler:processQueue

    And I get the errors you get too.. But that’s for sure not a core issue.

    PHP Warning:  include(): Failed opening '/var/www/html/vendor/tomasnorre/crawler/cli/bootstrap.php/index.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/vendor/tomasnorre/crawler/cli/bootstrap.php on line 84
    PHP Warning:  chdir(): Not a directory (errno 20) in /var/www/html/vendor/tomasnorre/crawler/cli/bootstrap.php on line 83
    PHP Warning:  include(/var/www/html/vendor/tomasnorre/crawler/cli/bootstrap.php/index.php): Failed to open stream: No such file or directory in /var/www/html/vendor/tomasnorre/crawler/cli/bootstrap.php on line 84

    I think this issue can be closed, as it’s most likely a crawler issue. But thanks a bunch for trying to locate the issue.

    I’ll dig more into it on the crawler side.

  9. Garvin Hicking commented and changed status Needs Feedback Closed <span data-processor="relativetime" data-value="2025-02-10T21:07:29+00:00" > 02/10/25, 21:07 </span>

    Thanks for working through this. Please feel free to get in touch with me via Slack or so if you are able to pinpoint/reproduce the issue, I’d be happy to help. Either way, good luck – things like these can be tricky to locate :(

    (Closing this for now as requested)

  10. Tomas Norre Mikkelsen commented <span data-processor="relativetime" data-value="2025-02-11T05:53:19+00:00" > 02/11/25, 05:53 </span>

    Thanks. Might reach out to you if I get closer to the problem.