It's very clear that everyone who posts stuff like this has never written a line of code in their life. The vast majority of issues in programming come from exactly stuff like this and regardless of your stance on AI there were only 2 realistic options - use AI or keep the bug.