What version of Form Toolkit are you using?
What other extensions including version numbers are installed?
Try creating a new blank page and adding captcha to the new page, if you don't get the same error, it is most likely being caused by something specific to the page you are working on, i'll need a copy of the page to investigate.