This may be part of the unhandled errors coming up in recent authoring versions - I see a reference to the Remove function - try running a monitor session and see what is triggering the error.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.