Had errors like this once. Wracked our brains for hours. Eventually realized we had an old version of the code running on some hosts and the new version running alongside it on others. The code had changed enough that the line numbers didn’t make sense anymore.
Is it political spam? They were sending all political emails to spam, but then politicians complained, so they changed that policy.