I started with Martin Greens Audit code and added the fix from this thread to get it to work. I would have sworn it was fully functional the first time I checked it without errors. But when I was testing the DB to find any other fixes I noticed this issue. But It does record the changes in the audit table so now googling this error with that line.