Issue Bug Closed

#95969Exception\InvalidArgumentException after update from 10.4.20 to 10.4.21

Robert Griebel 11/12/21, 15:20 updated 11/16/21, 19:27

Description

After updating from 10.4.20 to 10.4.21 using the install tool, I got the following error:

(1/1) Symfony\Component\DependencyInjection\Exception\InvalidArgumentException

Expected to find class “VendorName\ExtensionName\DataProcessing\CsvFileProcessor” in file “/var/www/path/public/typo3conf/ext/my_extension/Classes/DataProcessing/CsvFileProcessor.php” while importing services from resource “../Classes/*”, but it was not found! Check the namespace prefix used with the resource.

OS: Ubuntu 20.04.3 LTS / Debian 8
PHP-Version: 7.4.3

This issue occurred on two different servers.

I’ve tried different solutions suggested in other reports with similar issues (Bug #93134 and Bug #93169).

  • dropping typo3temp/var/cache/code
  • calling opcache_reset(); manually
  • deleting the old sources

Unfortunaly nothing worked.

I tried to revert the update by manually setting the symlinks to the old source but the error persisted.

Reviews 0

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