Issue Bug Closed

#55099PHP Warnings after clearing configuration cache in BE

Markus Klein 01/17/14, 11:29 updated 10/02/18, 12:07

Description

Steps to reproduce
  1. rm -rf typo3temp/*
  2. Open BE, Page module
  3. Click on some random page in the tree
  4. Clear the configuration cache via toolbar icon
  5. Click on some page again in the tree

An extdirect exception popups at the bottom of the BE

Warning: rename(/var/www/html/master/typo3temp/Cache/Data/cache_classes/52d9026814521.temp,/var/www/html/master/typo3temp/Cache/Data/cache_classes/typo3_cms_extbase_property_typeconverter_fileconverter): No such file or directory in ..../typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php on line 244

(the affected class looks rather random, but it is always the same line 244)

You can continue at this point to work in BE, but
if you clear the configuration cache again and
*quickly* click on a page in the tree, the complete BE fails.

The warning above is displayed again and additionally this is displayed:

PHP Warning: Class 'TYPO3\CMS\Core\Log\Loggerphp' not found in ..../typo3/sysext/core/Classes/Core/ClassAliasMap.php line 270
or
PHP Warning: Class 'TYPO3\CMS\Core\Resource\ResourceInterfacer\AbstractController' not found in ..../typo3/sysext/core/Classes/Core/ClassAliasMap.php line 270

One has to clear typo3temp manually in order to get the BE back to work.
I’ve no clue what’s going on here, looks like some timing issue and/or race condition.

Note: I’ve activated this setting in the installer in order to really see all (otherwise silent) warnings:
[‘SYS’][‘exceptionalErrors’] => ‘28674’

Reviews 2