InvalidParameterException File profile/2043small.jpg (file guid:0) (owner guid:2043) is missing an owner! --- help!

hi,

i was deleting spammers frm my site directly from the database (thought it would be faster) and I ended up with this error:

 

InvalidParameterException

 

File profile/2043small.jpg (file guid:0) (owner guid:2043) is missing an owner!

what's happening? how do i fix this? i'm using elgg 1.7.7.

 

thanks in advance!