Can somebody please advise the best way to correct this?
Thank you in advance
Steps to reproduce
1. Sabre error in log file
2. fails when performing code-check
3.
Expected behaviour
n/a
Actual behaviour
error messages constantly outputted
Server configuration
Operating system: Debian Linux 8
Web server: Apache version 2.4.10
Database: MySQL version 5.5.50
PHP version: 5.6.24
ownCloud version (see ownCloud admin page): 9.1.0.15
Updated from an older ownCloud or fresh install: maintained using apt-get
ownCloud log:
Error PHP Unsupported operand types at /var/www/owncloud/3rdparty/sabre/uri/lib/functions.php#205 2016-07-27T11:11:59+00:00
Error PHP Unsupported operand types at /var/www/owncloud/3rdparty/sabre/uri/lib/functions.php#205 2016-07-27T11:11:59+00:00
Error PHP Unsupported operand types at /var/www/owncloud/3rdparty/sabre/uri/lib/functions.php#205 2016-07-27T11:11:59+00:00
Error PHP Unsupported operand types at /var/www/owncloud/3rdparty/sabre/uri/lib/functions.php#205 2016-07-27T11:11:59+00:00
Error PHP Unsupported operand types at /var/www/owncloud/3rdparty/sabre/uri/lib/functions.php#205 2016-07-27T11:10:59+00:00
Error PHP Unsupported operand types at /var/www/owncloud/3rdparty/sabre/uri/lib/functions.php#205 2016-07-27T11:10:59+00:00
Error PHP Unsupported operand types at /var/www/owncloud/3rdparty/sabre/uri/lib/functions.php#205 2016-07-27T11:10:59+00:00
Error PHP Unsupported operand types at /var/www/owncloud/3rdparty/sabre/uri/lib/functions.php#205 2016-07-27T11:10:59+00:00
Error PHP Unsupported operand types at /var/www/owncloud/3rdparty/sabre/uri/lib/functions.php#205 2016-07-27T11:10:00+00:00
Error PHP Unsupported operand types at /var/www/owncloud/3rdparty/sabre/uri/lib/functions.php#205 2016-07-27T11:09:59+00:00
Error PHP Unsupported operand types at /var/www/owncloud/3rdparty/sabre/uri/lib/functions.php#205 2016-07-27T11:09:59+00:00
Error PHP Unsupported operand types at /var/www/owncloud/3rdparty/sabre/uri/lib/functions.php#205 2016-07-27T11:09:59+00:00
Fatal webdav Exception: {"Message":"HTTP\/1.1 400 expected filesize 569266 got 32768","Exception":"Sabre\\DAV\\Exception\\BadRequest","Code":0,"Trace":"#0 \/var\/www\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php(136): OCA\\DAV\\Connector\\Sabre\\File->put(Resource id #119)\n#1 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(1036): OCA\\DAV\\Connector\\Sabre\\Directory->createFile('Jun05-11', Resource id #119)\n#2 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(523): Sabre\\DAV\\Server->createFile('BBR mag\/111 - 1...', Resource id #119, NULL)\n#3 [internal function]: Sabre\\DAV\\CorePlugin->httpPut(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#4 \/var\/www\/owncloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#5 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(459): Sabre\\Event\\EventEmitter->emit('method:PUT', Array)\n#6 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(248): Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request), Object(Sabre\\HTTP\\Response))\n#7 \/var\/www\/owncloud\/apps\/dav\/appinfo\/v1\/webdav.php(56): Sabre\\DAV\\Server->exec()\n#8 \/var\/www\/owncloud\/remote.php(164): require_once('\/var\/www\/ownclo...')\n#9 {main}","File":"\/var\/www\/owncloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","Line":149,"User":"bbroffice"} 2016-07-27T11:08:59+00:00
When performing the following:
sudo -u www-data php occ app:check-code dav
I get...
Analysing /var/www/owncloud/apps/dav/lib/CalDAV/CalDavBackend.php
1 errors
line 781: == - is discouraged
Analysing /var/www/owncloud/apps/dav/lib/CardDAV/CardDavBackend.php
2 errors
line 910: == - is discouraged
line 910: == - is discouraged
Analysing /var/www/owncloud/apps/dav/lib/DAV/Sharing/Backend.php
1 errors
line 164: == - is discouraged
Analysing /var/www/owncloud/apps/dav/lib/Connector/Sabre/Node.php
1 errors
line 217: OC_Util - Static method of private class must not be called
Analysing /var/www/owncloud/apps/dav/lib/Connector/Sabre/ObjectTree.php
2 errors
line 81: == - is discouraged
line 81: == - is discouraged
Analysing /var/www/owncloud/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php
1 errors
line 100: OC_User - Static method of private class must not be called
Analysing /var/www/owncloud/apps/dav/lib/Connector/Sabre/Directory.php
2 errors
line 208: == - is discouraged
line 297: OC_Helper - Static method of private class must not be called
Analysing /var/www/owncloud/apps/dav/lib/Connector/Sabre/File.php
9 errors
line 132: OC_Helper - Static method of private class must not be called
line 148: != - is discouraged
line 255: OC_Hook - Static method of private class must not be called
line 260: OC_Hook - Static method of private class must not be called
line 265: OC_Hook - Static method of private class must not be called
line 281: OC_Hook - Static method of private class must not be called
line 285: OC_Hook - Static method of private class must not be called
line 289: OC_Hook - Static method of private class must not be called
line 402: != - is discouraged
Analysing /var/www/owncloud/apps/dav/lib/Connector/Sabre/Auth.php
5 errors
line 115: OC_Util - Static method of private class must not be called
line 119: OC_Util - Static method of private class must not be called
line 122: OC_Util - Static method of private class must not be called
line 221: OC_User - Static method of private class must not be called
line 228: OC_Util - Static method of private class must not be called
Analysing /var/www/owncloud/apps/dav/lib/Connector/PublicAuth.php
1 errors
line 93: OC_User - Static method of private class must not be called
Analysing /var/www/owncloud/apps/dav/lib/Files/BrowserErrorPagePlugin.php
2 errors
line 26: OC_Template - private class must not be imported with a use statement
line 96: OC_Template - private class must not be instantiated
Analysing /var/www/owncloud/apps/dav/appinfo/v1/webdav.php
1 errors
line 28: OC_Util - Static method of private class must not be called
Analysing /var/www/owncloud/apps/dav/appinfo/v1/publicwebdav.php
3 errors
line 32: OC_App - Static method of private class must not be called
line 34: OC_Util - Static method of private class must not be called
line 75: OC_Util - Static method of private class must not be called
Analysing /var/www/owncloud/apps/dav/appinfo/v2/remote.php
1 errors
line 25: OC_Util - Static method of private class must not be called
App is not compliant
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption): none
Integrity status for oC9+
No errors have been found.