Actions
Bug #95877
closedmissing index "install_path" with composer 2.0
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-11-04
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
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
Actions