However, I disabled debug mode entirely and was still seeing the error.
I cleared the browser cache and the error was gone.
I went back and enabled debug mode. No error.
So I can only assume that somehow the error was related to something else I was working on before I noticed the error and by the time I noticed it I had already fixed it. Clearing the browser cache then removed the message.