How to delete groups from elgg that has 0 memebers from database.

Hi All,

We have a elgg site up and running. But now we get this error "InvalidParameterException All files must have an owner!". We found out that this error was cased by group that had no memebers. Since then we  are tryin to remove this group from database, but we are not able to. I searched the database with group's guid and removed all references of guid, but the group still exists. I can see that group's guid on the site(on group icon).

I have tried the below to get around the problem but without any sucess.

1) Removed all rows that contained the group guid.

2) Deleted the Cache folder in the data folder.

3) Removed the user who created the group.

4) Run garbage collector.


Pleas help me figure this out.