Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Removing userforms


Reply

3 Posts   1151 Views

Avatar
fishe

17 January 2009 at 2:26pm Community Member, 42 Posts

I decided I don't need the userforms module anymore, so I just deleted the directory userforms from the root installation dir.

I then rebuilt the database and flushed the admin panel, but I get the following error: [User Error] Bad class to singleton() - UserDefinedForm

None of my existing files link to anything to do with userforms anymore.

I then did something probably not so smart and manually deleted the 3 UserDefinedForm tables from the database. This didn't do anything though.

I even tried to put the files back but now I just get other errors.

Any help please? :)

Avatar
Ingo

25 January 2009 at 9:05pm Forum Moderator, 801 Posts

Do you still have UserDefinedForm as a enum-value in the "ClassName" column in one of your SiteTree (*_live, *_versions) tables, or subclasses thereof? Do you have a page which used to contain a UserDefinedForm which you haven't switched to an existing pagetype yet?

Avatar
fishe

25 January 2009 at 11:35pm Community Member, 42 Posts

Ta for the reply, but I've already just reinstalled and moved across certain files (I'm developing so there was only test data in the database)