Nextcloud version - 11.0.1.2
Operating system and version - CentOS 7
Apache or nginx version - Nginx 1.10.2 (reverse proxy) Apache 2.4.6 (web container)
PHP version - 7.0.15
Is this the first time you’ve seen this error and can you replicate it? No and yes I can
The issue you are facing:
So I was going through the logs just to make sure everything was ok, and saw a boatload of stuff in the error log. I’m contemplating just wiping the database and starting fresh since I haven’t come too far with loading stuff on, but wanting to check to make sure this doesn’t have an easy fix first.
Below are some of the errors I see that repeat with every refresh of the corresponding pages.
The output of your Nextcloud log in Admin > Logging:
I see this around file tagging, I get it when I add or remove a file tag whether it be on the file, or through the workflow section.
{“reqId”:“WJv7ja9LlUjr5qltFO4ZuQAAAAM”,“remoteAddr”:“10.37.20.3”,“app”:“PHP”,“message”:“array_merge() expects at least 1 parameter, 0 given at /var/www/html/nextcloud/apps/workflowengine/lib/Check/FileSystemTags.php#129”,“level”:3,“time”:“2017-02-09T05:18:06+00:00”,“method”:“GET”,“url”:"/ocs/v2.php/apps/files_sharing/api/v1/shares?format=json&path=%2FPlexContent&shared_with_me=true",“user”:“push”,“version”:“11.0.1.2”}
{“reqId”:“WJv7ja9LlUjr5qltFO4ZuQAAAAM”,“remoteAddr”:“10.37.20.3”,“app”:“PHP”,“message”:“array_unique() expects parameter 1 to be array, null given at /var/www/html/nextcloud/apps/workflowengine/lib/Check/FileSystemTags.php#130”,“level”:3,“time”:“2017-02-09T05:18:06+00:00”,“method”:“GET”,“url”:"/ocs/v2.php/apps/files_sharing/api/v1/shares?format=json&path=%2FPlexContent&shared_with_me=true",“user”:“push”,“version”:“11.0.1.2”}
Get this when accessing the main admin page:
{“reqId”:“WJv9odVqJMsNhvSJeILJTwAAAAI”,“remoteAddr”:“10.37.20.3”,“app”:“PHP”,“message”:“array_merge() expects at least 1 parameter, 0 given at /var/www/html/nextcloud/apps/workflowengine/lib/Check/FileSystemTags.php#129”,“level”:3,“time”:“2017-02-09T05:26:57+00:00”,“method”:“PROPFIND”,“url”:"/remote.php/webdav",“user”:“push”,“version”:“11.0.1.2”}
{“reqId”:“WJv9odVqJMsNhvSJeILJTwAAAAI”,“remoteAddr”:“10.37.20.3”,“app”:“PHP”,“message”:“array_unique() expects parameter 1 to be array, null given at /var/www/html/nextcloud/apps/workflowengine/lib/Check/FileSystemTags.php#130”,“level”:3,“time”:“2017-02-09T05:26:57+00:00”,“method”:“PROPFIND”,“url”:"/remote.php/webdav",“user”:“push”,“version”:“11.0.1.2”}
{“reqId”:“WJv9odVqJMsNhvSJeILJTwAAAAI”,“remoteAddr”:“10.37.20.3”,“app”:“PHP”,“message”:“in_array() expects parameter 2 to be array, null given at /var/www/html/nextcloud/apps/workflowengine/lib/Check/FileSystemTags.php#83”,“level”:3,“time”:“2017-02-09T05:26:57+00:00”,“method”:“PROPFIND”,“url”:"/remote.php/webdav",“user”:“push”,“version”:“11.0.1.2”}
And this when I go to the external storage page with a valid (and working) webdav connection over http
{“reqId”:“WJv9zLffLJydReLv7afwtwAAAAk”,“remoteAddr”:“10.37.20.3”,“app”:“PHP”,“message”:“array_merge() expects at least 1 parameter, 0 given at /var/www/html/nextcloud/apps/workflowengine/lib/Check/FileSystemTags.php#129”,“level”:3,“time”:“2017-02-09T05:27:40+00:00”,“method”:“PROPFIND”,“url”:"/remote.php/webdav",“user”:“push”,“version”:“11.0.1.2”}
{“reqId”:“WJv9zLffLJydReLv7afwtwAAAAk”,“remoteAddr”:“10.37.20.3”,“app”:“PHP”,“message”:“array_unique() expects parameter 1 to be array, null given at /var/www/html/nextcloud/apps/workflowengine/lib/Check/FileSystemTags.php#130”,“level”:3,“time”:“2017-02-09T05:27:40+00:00”,“method”:“PROPFIND”,“url”:"/remote.php/webdav",“user”:“push”,“version”:“11.0.1.2”}
{“reqId”:“WJv9zLffLJydReLv7afwtwAAAAk”,“remoteAddr”:“10.37.20.3”,“app”:“PHP”,“message”:“in_array() expects parameter 2 to be array, null given at /var/www/html/nextcloud/apps/workflowengine/lib/Check/FileSystemTags.php#83”,“level”:3,“time”:“2017-02-09T05:27:40+00:00”,“method”:“PROPFIND”,“url”:"/remote.php/webdav",“user”:“push”,“version”:“11.0.1.2”}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):