magento2: Module Manager module grid is not working Magento 2.2.4
Preconditions
- Magento Version 2.2.4
- PHP Version 7.0.30
- MySQL version 5.7.22
- Apache/2.4.18 (Ubuntu)
Steps to reproduce
- I’ve installed latest Magento ver 2.2.4
- Module Manager doesn’t show module grid when going through below step:
- System > Tools > Web Setup Wizard > Module Manager
Expected result
- It should show manage module grid.
Actual result
Console shows following error
GET http://127.0.0.1/magento224/setup/index.php/moduleGrid/modules 500 (Internal Server Error)
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 24 (9 by maintainers)
@Shellanza and @Jacob-Wilsons The changes have been made and tested successfully. Please go to setup/src/Magento/Setup/Model/Grid/Module.php
Change from: $item[‘moduleName’] = $item[‘moduleName’] ?:$this->packageInfo->getModuleName($item[‘name’]);
Change to: $item[‘moduleName’] = $item[‘moduleName’] ?? $this->packageInfo->getModuleName($item[‘name’]);
at line 181
Thanks for confirming @DigitalStartupUK, great! So if the PR gets approved it should get released in an upcoming new version. I agree this isn’t the correct fix to edit the core files, this was only for verifying if it fixes the issue. People should consider for themselves how to workaround the issue, or just wait for a new version to be released in which the fix is included.