I've never seen this error myself, but it looks like your missing a pagination switch in template::list::create.
Review the documentation here and see if that fixes it:
https://openacs.org/api-doc/proc-view?proc=template%3a%3alist%3a%3acreate
or you can post your list call here.