Please use the đź‘Ť reaction to show that you are affected by the same issue.
Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
Steps to reproduce
Mark a folder as end 2 end encryptet
Add file drop share
when browsing it, it will show an internal server errror
Expected behaviour
File drop page to be shown
Actual behaviour
Internal server error
Server configuration
Operating system: ubuntu 22.04
Web server: apache
Database: mariadb
PHP version: php 8.2
Nextcloud version: 28.0.3
Updated from an older Nextcloud/ownCloud or fresh install: Updated
Where did you install Nextcloud from: Package
Signing status:
Signing status
```
empty
```
List of activated apps:
App list
```
1.14.4
```
Operating system:
Logs
Nextcloud log (data/nextcloud.log)
Nextcloud log
```
{"reqId":"oMlwRrMWz69byJKym2Pz","level":3,"time":"2024-03-28T09:58:21+00:00","remoteAddr":"98.128.137.187","user":"--","app":"index","method":"GET","url":"/s/******************","message":"array_map(): Argument #2 ($array) must be of type array, null given in file '/var/www/nextcloud/apps/end_to_end_encryption/lib/E2EEPublicShareTemplateProvider.php' line 55","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36","version":"28.0.3.2","exception":{"Exception":"Exception","Message":"array_map(): Argument #2 ($array) must be of type array, null given in file '/var/www/nextcloud/apps/end_to_end_encryption/lib/E2EEPublicShareTemplateProvider.php' line 55","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1069,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":39,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":169,"Previous":{"Exception":"TypeError","Message":"array_map(): Argument #2 ($array) must be of type array, null given","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/end_to_end_encryption/lib/E2EEPublicShareTemplateProvider.php","line":55,"function":"array_map"},{"file":"/var/www/nextcloud/apps/files_sharing/lib/Controller/ShareController.php","line":341,"function":"renderPage","class":"OCA\\EndToEndEncryption\\E2EEPublicShareTemplateProvider","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"showShare","class":"OCA\\Files_Sharing\\Controller\\ShareController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1069,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":39,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/end_to_end_encryption/lib/E2EEPublicShareTemplateProvider.php","Line":55},"message":"array_map(): Argument #2 ($array) must be of type array, null given in file '/var/www/nextcloud/apps/end_to_end_encryption/lib/E2EEPublicShareTemplateProvider.php' line 55","exception":{},"CustomMessage":"array_map(): Argument #2 ($array) must be of type array, null given in file '/var/www/nextcloud/apps/end_to_end_encryption/lib/E2EEPublicShareTemplateProvider.php' line 55"}}
```
updated to 28.0.4 and 1.14.5 same problem. "array_map(): Argument #2 ($array) must be of type array, null given in file '/var/www/nextcloud/apps/end_to_end_encryption/lib/E2EEPublicShareTemplateProvider.php' line 55"
How to use GitHub
Steps to reproduce
Expected behaviour
File drop page to be shown
Actual behaviour
Internal server error
Server configuration
Operating system: ubuntu 22.04
Web server: apache
Database: mariadb
PHP version: php 8.2
Nextcloud version: 28.0.3
Updated from an older Nextcloud/ownCloud or fresh install: Updated
Where did you install Nextcloud from: Package
Signing status:
Signing status
``` empty ```List of activated apps:
App list
``` 1.14.4 ```Operating system:
Logs
Nextcloud log (data/nextcloud.log)
Nextcloud log
``` {"reqId":"oMlwRrMWz69byJKym2Pz","level":3,"time":"2024-03-28T09:58:21+00:00","remoteAddr":"98.128.137.187","user":"--","app":"index","method":"GET","url":"/s/******************","message":"array_map(): Argument #2 ($array) must be of type array, null given in file '/var/www/nextcloud/apps/end_to_end_encryption/lib/E2EEPublicShareTemplateProvider.php' line 55","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36","version":"28.0.3.2","exception":{"Exception":"Exception","Message":"array_map(): Argument #2 ($array) must be of type array, null given in file '/var/www/nextcloud/apps/end_to_end_encryption/lib/E2EEPublicShareTemplateProvider.php' line 55","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1069,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":39,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":169,"Previous":{"Exception":"TypeError","Message":"array_map(): Argument #2 ($array) must be of type array, null given","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/end_to_end_encryption/lib/E2EEPublicShareTemplateProvider.php","line":55,"function":"array_map"},{"file":"/var/www/nextcloud/apps/files_sharing/lib/Controller/ShareController.php","line":341,"function":"renderPage","class":"OCA\\EndToEndEncryption\\E2EEPublicShareTemplateProvider","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"showShare","class":"OCA\\Files_Sharing\\Controller\\ShareController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1069,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":39,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/apps/end_to_end_encryption/lib/E2EEPublicShareTemplateProvider.php","Line":55},"message":"array_map(): Argument #2 ($array) must be of type array, null given in file '/var/www/nextcloud/apps/end_to_end_encryption/lib/E2EEPublicShareTemplateProvider.php' line 55","exception":{},"CustomMessage":"array_map(): Argument #2 ($array) must be of type array, null given in file '/var/www/nextcloud/apps/end_to_end_encryption/lib/E2EEPublicShareTemplateProvider.php' line 55"}} ```