I think Brian has **** the nail on the head. The error is using an old iRite instance, not an HTML Editor instance.
Look in the code for an include line is referencing the WA_iRite folder. If you having trouble finding it, please send a copy of the page.