Issue Bug Closed

#43381ClassLoader error after installing extension

Oliver Hader 11/28/12, 11:41 updated 10/23/17, 22:16

Description

When e.g. installing tt_news version 3.4.0 (compatible to TYPO3 CMS 6.0.0) a fatal error will be shown since tt_news uses a class in ext_tables.php that requires the autoloader’s registry information.

The following happens on installing an extension:
  • flushing the caches (including the class loader cache)
  • redirecting to list view of extension manager
  • triggering shutdown method in ClassLoader
  • updating cache if $cacheUpdateRequired is set

This updates the autoloader registry with old data since the extension’s ext_autoload.php has not been considered at that time.

The issue is fixed by explicitly calling a new refresh method in the ClassLoader.

Reviews 0

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