I think, you should register the code against pre-Delete event. After teh record is deleted, the record dosen't exits so if you try to manipulate in any way you will see the above error. or there is some other plugin registered against the post delete.
↧