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
Updated by Marco Huber about 3 years ago
- Related to Bug #95237: Usage of Composer 2.1 runtime API while only requireing 2.0 added
Updated by Marco Huber about 3 years ago
Ok, sorry. I found #95237 where the problem should be solved and then I noticed, that we use `composer install --ignore-platform-reqs`. So this issue can be closed an we have to adjust our deployment... :-)
Actions