Steps to reproduce
1.Set up a new sync folder with a normal user
2.See the error 403
3.
Expected behaviour
Choose a distant folder
Actual behaviour
Error 403 Call to a member function getUID() on boolean.
Server configuration
Operating system: REDHAT
Web server: apache
Database: mariadb
PHP version:7.0
ownCloud version: 10.0.5
Updated from an older ownCloud or fresh install:Update from 10.0.3
Where did you install ownCloud from: Git - stable10
**Are you using external storage, if yes which one:** no
**Are you using encryption:** no
**Are you using an external user-backend, if yes which one: NO
### Client configuration
**Browser:** Mozilla ESR 52
**Operating system:** Windows 7
### Logs
#### Web server error log
Insert your webserver log here`
ownCloud log (data/owncloud.log)
In the log , {"reqId":"0a2426ba-0026-419f-9f74-4a4f68bacba3","level":4,"time":"2018-01-30T13:00:20+00:00","remoteAddr":"10.32.101.193","user":"lannes.lacrouts@yahoo.fr","app":"webdav","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Exception: {\"Message\":\"HTTP\/1.1 503 Error: Call to a member function getUID() on boolean\",\"Exception\":\"Sabre\DAV\Exception\ServiceUnavailable\",\"Code\":0,\"Trace\":\"#0 [internal function]: {closure}(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#1 \/var\/www\/mycore_1003\/lib\/composer\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Object(Closure), Array)\n#2 \/var\/www\/mycore_1003\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(466): Sabre\Event\EventEmitter->emit('beforeMethod', Array)\n#3 \/var\/www\/mycore_1003\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#4 \/var\/www\/mycore_1003\/remote.php(70): Sabre\DAV\Server->exec()\n#5 \/var\/www\/mycore_1003\/remote.php(170): handleException(Object(Error))\n#6 {main}\",\"File\":\"\/var\/www\/mycore_1003\/remote.php\",\"Line\":68,\"User\":\"lannes.lacrouts@yahoo.fr\"}"}