Cannot access Deleted Pages tab due to Velocity error


I am getting an error trying to access the Deleted Pages tab: bin/view/Main/AllDocs?view=deletedDocs

Any ideas on how to fix this? Running 11.10.13.

Uncaught ReferenceError: trashDocumentsLivetable is not defined

Failed to execute the [velocity] macro. Cause: [Lexical error at line 1, column 96. Encountered: "?" (63), after : ""]. Click on this message for details.

Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [xwiki:Main.AllDocs]
 at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(
 at com.xpn.xwiki.render.DefaultVelocityManager.evaluate(
 at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(
 ... 190 more
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getDocument' in  class com.xpn.xwiki.api.DeletedDocument threw exception org.suigeneris.jrcs.rcs.parse.TokenMgrError: Lexical error at line 1, column 96.  Encountered: "?" (63), after : "" at 395:xwiki:Main.AllDocs[line 69, column 32]
 at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(

Anyone have ideas on how to fix this issue? Thank you!


Note that the community doesn’t support old versions of XWiki, see Support (

I recommend to upgrade to the latest LTS (12.10.6 ATM) and check if it still happens.