An error has occurred

An error has been generated by the application.

exerr:ERROR XPTY0004: The actual cardinality for parameter 1 does not match the cardinality declared in the function's signature: templates:lookup-param-from-restserver($var as xs:string) item()*. Expected cardinality: exactly one, got 0. [at line 609, column 124, source: /var/lib/eXist/data/expathrepo/shared-0.9.1/content/templates.xql]
In function:
	templates:lookup-param-from-restserver(xs:string) [609:124:/var/lib/eXist/data/expathrepo/shared-0.9.1/content/templates.xql]
	templates:form-control(node(), map(*)) [604:24:/var/lib/eXist/data/expathrepo/shared-0.9.1/content/templates.xql]
	templates:form-control(node(), map(*)) [-1:-1:/var/lib/eXist/data/expathrepo/shared-0.9.1/content/templates.xql]
	templates:process-output(element(), map(*), item()*, element(function)) [211:9:/var/lib/eXist/data/expathrepo/shared-0.9.1/content/templates.xql]
	templates:call-by-introspection(element(), map(*), map(*), function(*)) [189:28:/var/lib/eXist/data/expathrepo/shared-0.9.1/content/templates.xql]
	templates:call(item(), element(), map(*)) [137:36:/var/lib/eXist/data/expathrepo/shared-0.9.1/content/templates.xql]
	templates:process(node()*, map(*)) [148:81:/var/lib/eXist/data/expathrepo/shared-0.9.1/content/templates.xql]
	templates:process(node()*, map(*)) [148:81:/var/lib/eXist/data/expathrepo/shared-0.9.1/content/templates.xql]
	templates:process(node()*, map(*)) [148:81:/var/lib/eXist/data/expathrepo/shared-0.9.1/content/templates.xql]
	templates:process(node()*, map(*)) [148:81:/var/lib/eXist/data/expathrepo/shared-0.9.1/content/templates.xql]
	templates:process(node()*, map(*)) [148:81:/var/lib/eXist/data/expathrepo/shared-0.9.1/content/templates.xql]
	templates:process(node()*, map(*)) [148:81:/var/lib/eXist/data/expathrepo/shared-0.9.1/content/templates.xql]
	templates:process(node()*, map(*)) [148:81:/var/lib/eXist/data/expathrepo/shared-0.9.1/content/templates.xql]
	templates:process(node()*, map(*)) [428:17:/var/lib/eXist/data/expathrepo/shared-0.9.1/content/templates.xql]
	templates:process-output(element(), map(*), item()*) [230:9:/var/lib/eXist/data/expathrepo/shared-0.9.1/content/templates.xql]
	templates:process-output(element(), map(*), item()*, element(function)) [211:9:/var/lib/eXist/data/expathrepo/shared-0.9.1/content/templates.xql]
	templates:call-by-introspection(element(), map(*), map(*), function(*)) [189:28:/var/lib/eXist/data/expathrepo/shared-0.9.1/content/templates.xql]
	templates:call(item(), element(), map(*)) [137:36:/var/lib/eXist/data/expathrepo/shared-0.9.1/content/templates.xql]
	templates:process(node()*, map(*)) [133:51:/var/lib/eXist/data/expathrepo/shared-0.9.1/content/templates.xql]
	templates:process(node()*, map(*)) [90:9:/var/lib/eXist/data/expathrepo/shared-0.9.1/content/templates.xql]
	templates:apply(node()+, function(*), map(*)?, map(*)?) [51:5:/var/lib/eXist/data/expathrepo/shared-0.9.1/content/templates.xql]

For more information about the project, contact Dr Ayesha Mukherjee at the University of Exeter.

Acknowledgements