Random Internal Error

It seems to only happen on this alert popup part, cause if I use my table view and click on a snake there the Individual Snake form loads and I don’t get the internal error. But the card view when I click one that uses the alert does but it uses the same IndividualSnakeForm. So I haven’t figured out yet what is broke there but that seems to be it.