View installed package information in administration: "ksort() expects parameter 1 to be array, null given"
If I want to view a package's information in the Administration (System Administration
> Installed Extensions
) I get the following error:
Warning: ksort() expects parameter 1 to be array, null given
#0 [internal function]: exception_error_handler(2, 'ksort() expects...', '/var/www/quiqqe...', 38, Array)
#1 /var/www/quiqqer/packages/quiqqer/quiqqer/admin/ajax/system/packages/get.php(38): ksort(NULL)
#2 /var/www/quiqqer/packages/quiqqer/quiqqer/lib/QUI/Ajax.php(346): {closure}('')
#3 /var/www/quiqqer/packages/quiqqer/quiqqer/lib/QUI/Ajax.php(207): QUI\Ajax->callRequestFunction('ajax_system_pac...')
#4 /var/www/quiqqer/packages/quiqqer/quiqqer/lib/ajax.php(101): QUI\Ajax->call()
#5 /var/www/quiqqer/packages/quiqqer/quiqqer/admin/ajax.php(21): require('/var/www/quiqqe...')
#6 {main}
{
"request": "https:\/\/quiqqer.jan.pcsg.eu\/admin\/ajax.php?preventCache=jxd4j90p&_rf=%5B%22ajax_system_packages_get%22%5D&_FRONTEND=0&lang=en&project=%7B%22name%22%3A%22Mainproject%22%2C%22lang%22%3A%22de%22%7D&method=get&url=%2Fadmin%2Fajax.php",
"errorFilename": false,
"userId": 674780579,
"username": "admin",
"IP": "127.0.0.1"
}
The issue also occured for @michael.daniel but strangely he could view some of the packages. I suspect it's about packages that miss a package.xml
for him.
Edited by Jan Wennrich