Removed prepared statements. I know it's incorrect, but removing them fixed this issues immediately.