I can't remove the physical body!

Please help me! I am trying to remove a physical body using physics.removeBody , but solar 2d returns an error - “cannot remove a physical body during collision processing”

You can’t remove the physical body during a collision, but you can do it in the next frame:
timer.performWithDelay(1, function() physics.removeBody( object ) end)

Thank you much