Issue Bug Closed

#95877missing index "install_path" with composer 2.0

Marco Huber 11/04/21, 22:59 updated 11/05/21, 10:48

Description

composer 2.0 doesn’t set “install_path” in vendor/composer/installed.php like composer 2.1 does. This missing array index leads to a PHP notice in typo3/sysext/core/Classes/Core/Environment.php line 137 and because of some strange server configuration this breaks TYPO3 completly.

$ vendor/bin/typo3cms cache:flush
PHP Notice:  Undefined index: install_path in /custompath/private/typo3/sysext/core/Classes/Core/Environment.php on line 137

Reviews 0

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