Something has gone wrong...

An unknown error has occurred: java:org.exist.xquery.XPathException

→ code
xs:QName
→ model → configuration → app-root
/db/apps/edoc
→ model → configuration → stop-on-error
true
→ model → configuration → param-resolver
templates:lookup-param-from-restserver#1
→ model → configuration → fn-resolver
#2
→ err:value
→ err:description
exerr:ERROR The actual return type does not match the sequence type declared in the function's signature: wdbFiles:getModificationDate(xs:string, xs:string) xs:dateTime. Expected cardinality: exactly one, got 0. [at line 149, column 47, source: /db/apps/edoc/modules/app.xqm] In function: wdbFiles:getModificationDate(xs:string, xs:string) [211:29:/db/apps/edoc/modules/wdb-files.xqm]. The actual return type does not match the sequence type declared in the function's signature: wdbFiles:getModificationDate(xs:string, xs:string) xs:dateTime. Expected cardinality: exactly one, got 0.
→ err:additional
→ location
/db/apps/edoc/modules/app.xqm@149:47
→ user
xs:untypedAtomic