Actions
Bug #88431
closed$GLOBALS['TBE_MODULES'] is null in ExtensionUtility
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2019-05-24
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When visiting Install-Tool and do a Database Compare or Check TCA, following Warning is displayed:
<br />
<b>Warning</b>: array_key_exists() expects parameter 2 to be array, null given in <b>/var/www/typo3_src/typo3_src-9.5.7/typo3/sysext/extbase/Classes/Utility/ExtensionUtility.php</b> on line <b>173</b><br />
Updated by Thomas Helmrich about 5 years ago
This issue still exists in 9.5.8
I fixed it by adding in line 172:
if(!$GLOBALS['TBE_MODULES']){
$GLOBALS['TBE_MODULES'] = [];
}
Updated by Riccardo De Contardi almost 5 years ago
- Category set to Install Tool
Is there a way to reproduce this issue?
Updated by Daniel Goerz over 4 years ago
- Status changed from New to Closed
Since there has been no feedback on how to reproduce this issue, we close this for lack of activity. Please feel free to reopen this issue at any time with the setup and steps to reproduce.
Updated by Ole Trenner over 3 years ago
For anyone who is having the same issue:
We had this problem and found that it was caused by a call to `ExtensionUtility::registerModule()` from the wrong file (it was called from a TCA Override configuration instead from ext_tables.php). Moving this call to the correct file fixed the issue.
Actions