You found a bug. Good. Now the real work starts.
Many developers think fixing a bug means making the error message disappear or getting the expected output to appear again. That is not fixing a bug. That is silencing a symptom. Real bug fixing requires understanding what changed, why it changed, and what that change affected.