Purge deleted learning item gives an error
We managed to delete some legacy records as explained here.
The next step is to purge them, as explained here.
The template we use looks good (see the code snippet) but we get this error.
Anyone with idea why is this happening?
I would appreciate ideas.
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):