ivopivo,

If you are willing/able I am almost complete with a revision to the zen_get_customid function that should prevent the error that you came across. I went back and used a process similar to how attributes are built/verified to be present. My guess is that something in the "scope" of MySQL servers "causes" this issue to appear, but that it can be relatively easily rectified with some care. I'll provide the direct link shortly, but it is one of the branches on github related to customids. Considering that I can not reproduce the problem, your assistance would be helpful upon completion of the change(s).