nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.38k stars 4.07k forks source link

[Bug]: Appstore: Exception array_map(): Argument #2 ($array) must be of type array, null given #46552

Closed marchidaniele closed 3 months ago

marchidaniele commented 3 months ago

⚠️ This issue respects the following points: ⚠️

Bug description

Error in log registry: Error - Index - Exception array_map(): Argument #2 ($array) must be of type array, null given in file '/var/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php' line 253 image

Steps to reproduce

  1. I don't know

Expected behavior

No error

Installation method

Community Manual installation with Archive

Nextcloud Server version

master

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Fresh Nextcloud Server install

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

Configuration report

{
"system": {
"instanceid": "REMOVED SENSITIVE VALUE",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": \[
"172.xxx.xxx.xxx",
"",
""
\],
"trusted_proxies": "REMOVED SENSITIVE VALUE",
"datadirectory": "REMOVED SENSITIVE VALUE",
"dbtype": "mysql",
"version": "29.0.3.4",
"overwriteprotocol": "https",
"overwrite.cli.url": "https://",
"dbname": "REMOVED SENSITIVE VALUE",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbport": "",
"dbtableprefix": "oc\_",
"mysql.utf8mb4": true,
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"installed": true,
"mail_from_address": "REMOVED SENSITIVE VALUE",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_domain": "REMOVED SENSITIVE VALUE",
"mail_smtphost": "REMOVED SENSITIVE VALUE",
"mail_smtpport": "25",
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "REMOVED SENSITIVE VALUE",
"port": 0,
"dbindex": 0,
"password": "REMOVED SENSITIVE VALUE",
"timeout": 1.5
},
"allow_local_remote_servers": true,
"app.mail.imap.timeout": 20,
"app.mail.smtp.timeout": 20,
"app.mail.sieve.timeout": 20,
"app.mail.verify-tls-peer": false,
"default_phone_region": "IT",
"maintenance": false,
"maintenance_window_start": 10,
"onlyoffice": {
"verify_peer_off": true
},
"twofactor_enforced": "true",
"twofactor_enforced_groups": \[
"admin"
\],
"twofactor_enforced_excluded_groups": \[\],
"filelocking.enabled": false,
"memories.db.triggers.fcu": true,
"memories.exiftool": "/var/www/nextcloud/apps/memories/bin-ext/exiftool-amd64-glibc",
"memories.vod.path": "/var/www/nextcloud/apps/memories/bin-ext/go-vod-amd64",
"ffmpeg": "/usr/bin/ffmpeg",
"enable_previews": true,
"enabledPreviewProviders": \[
"OC\\Preview\\PNG",
"OC\\Preview\\JPEG",
"OC\\Preview\\GIF",
"OC\\Preview\\BMP",
"OC\\Preview\\XBitmap",
"OC\\Preview\\Movie",
"OC\\Preview\\PDF",
"OC\\Preview\\MP3",
"OC\\Preview\\TXT",
"OC\\Preview\\MarkDown",
"OC\\Preview\\MP4",
"OC\\Preview\\Image",
"OC\\Preview\\Photoshop",
"OC\\Preview\\MOV",
"OC\\Preview\\HEIC",
"OC\\Preview\\TIFF"
\],
"memories.gis_type": 1,
"app_install_overwrite": \[
"unsplash"
\],
"memories.vod.ffmpeg": "/usr/bin/ffmpeg",
"memories.vod.ffprobe": "/usr/bin/ffprobe"
}
}

List of activated Apps

Enabled:

- activity: 2.21.1
- admin_audit: 1.19.0
- bruteforcesettings: 2.9.0
- calendar: 4.7.11
- camerarawpreviews: 0.8.5
- circles: 29.0.0-dev
- cloud_federation_api: 1.12.0
- comments: 1.19.0
- contacts: 6.0.0
- contactsinteraction: 1.10.0
- dashboard: 7.9.0
- dav: 1.30.1
- drawio: 3.0.2
- facerecognition: 0.9.51
- federatedfilesharing: 1.19.0
- federation: 1.19.0
- files: 2.1.0
- files_downloadlimit: 2.0.0
- files_pdfviewer: 2.10.0
- files_reminders: 1.2.0
- files_sharing: 1.21.0
- files_trashbin: 1.19.0
- files_versions: 1.22.0
- firstrunwizard: 2.18.0
- logreader: 2.14.0
- lookup_server_connector: 1.17.0
- memories: 7.3.1
- nextcloud_announcements: 1.18.0
- notes: 4.10.0
- notifications: 2.17.0
- oauth2: 1.17.0
- officeonline: 2.2.1
- onlyoffice: 9.3.0
- password_policy: 1.19.0
- passwords: 2024.7.20
- photos: 2.5.0
- previewgenerator: 5.5.0
- privacy: 1.13.0
- provisioning_api: 1.19.0
- recognize: 7.0.3
- recommendations: 2.1.0
- related_resources: 1.4.0
- serverinfo: 1.19.0
- settings: 1.12.0
- sharebymail: 1.19.0
- spreed: 19.0.7
- support: 1.12.0
- survey_client: 1.17.0
- systemtags: 1.19.0
- text: 3.10.1
- theming: 2.4.0
- twofactor_backupcodes: 1.18.0
- twofactor_totp: 11.0.0-dev
- updatenotification: 1.19.1
- user_status: 1.9.0
- viewer: 2.3.0
- weather_status: 1.9.0
- workflowengine: 2.11.0
Disabled:
- encryption: 2.17.0
- files_external: 1.21.0
- suspicious_login: 7.0.0
- user_ldap: 1.20.0

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

Error   index   
Exception array_map(): Argument #2 ($array) must be of type array, null given in file '/var/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php' line 253
    "13 lug 2024, 12:19:37"
Error   index   
Exception array_map(): Argument #2 ($array) must be of type array, null given in file '/var/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php' line 253
    "10 lug 2024, 12:47:02"

Additional info

No response

marchidaniele commented 3 months ago

I have again same error with NC 29.0.4 image

solracsf commented 3 months ago

The fix is on v29.0.5

marchidaniele commented 3 months ago

Thank you