Issue Bug Closed

#93721Activating/Deactivating extensions through CLI results in a PHP error

Michael Schams 03/12/21, 12:29 updated 03/17/21, 10:09

Description

In a fresh TYPO3 version 11.1 instance, I get the following PHP exception when I try to activate or deactivate extensions through the command line:

$ ./vendor/bin/typo3 extension:deactivate seo

Uncaught TYPO3 Exception Too few arguments to function TYPO3\CMS\Core\ExpressionLanguage\ProviderConfigurationLoader::__construct(),
0 passed in [...]/typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 3222 and exactly 2 expected
thrown in file [...]/typo3/sysext/core/Classes/ExpressionLanguage/ProviderConfigurationLoader.php
in line 35

It does not matter if the extension is a third-party custom extension or a system extension such as EXT:seo.

  • PHP version 7.4.15
  • Composer version 2.0.11
  • TYPO3 version 11.1.0

I am not sure if this is related, but some files were reworked with issue #93442 (see review.typo3.org).

Reviews 0

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