An error has occurred

An error has been generated by the application.

err:XPDY0002 variable '$globals:doc-to-pdf-xslt' is not set. [at line 1981, column 71, source: /db/apps/pacelli/modules/app.xql]
In function:
	templates:call-with-args(function, function*, element(), map) [208:13:/usr/local/lib/exist/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]
	templates:process-output(element(), map, item()*, element()) [205:9:/usr/local/lib/exist/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]
	templates:call-by-introspection(element(), map, map, function) [187:28:/usr/local/lib/exist/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]
	templates:call(item(), element(), map) [135:36:/usr/local/lib/exist/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]
	templates:process(node()*, map) [131:51:/usr/local/lib/exist/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]
	templates:process(node()*, map) [88:9:/usr/local/lib/exist/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]
	templates:apply(node()+, function, map?, map?) [46:5:/usr/local/lib/exist/webapp/WEB-INF/data/expathrepo/shared-0.4.0/content/templates.xql]