⚠️ This issue respects the following points: ⚠️
Bug description
When you open Logging u got warnings about null that cames in foreach:
Trying to access array offset on null at /var/www/nextcloud/lib/private/App/AppManager.php#995
foreach() argument must be of type array|object, null given at /var/www/nextcloud/lib/private/App/AppManager.php#995
public function isBackendRequired(string $backend): bool {
foreach ($this->appInfos as $appInfo) {
here >> foreach ($appInfo['dependencies']['backend'] as $appBackend) {
if ($backend === $appBackend) {
return true;
}
}
}
return false;
}
Steps to reproduce
- Just open /settings/admin/logging
- You have this warnings in table
Expected behavior
No warnings
Nextcloud Server version
master
Operating system
None
PHP engine version
None
Web server
Nginx
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 31 to 32)
Are you using the Nextcloud Server Encryption module?
Encryption is Enabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
Bug description
When you open Logging u got warnings about null that cames in foreach:
Trying to access array offset on null at /var/www/nextcloud/lib/private/App/AppManager.php#995
foreach() argument must be of type array|object, null given at /var/www/nextcloud/lib/private/App/AppManager.php#995
Steps to reproduce
Expected behavior
No warnings
Nextcloud Server version
master
Operating system
None
PHP engine version
None
Web server
Nginx
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 31 to 32)
Are you using the Nextcloud Server Encryption module?
Encryption is Enabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response