I understand what your saying here. vbSEO codes there product to work with vbulletin. We code our product to work with vbulletin. There are no errors using either product with vbulletin. The issue only happens when both are installed together I get that.
I gave you a suggestion to try but thats about as far as I can go here. Your asking me to provide support for vbSEO. Your error has to do with a query issued by vbSEO. I have no idea how there product works or the coding of such a product so I can not assist you in altering there code to work.
The reason I suggested you try our new 8.3 RC1 and redo your plugins is because at the bottom of every plugin of ours I included mysql connection strings to connect back to the forum database so the last open mysql connection is not the gallery.
See you have no problems with our program it works fine and so does your forum. The problem is vbSEO is issuing queries in there code without even knowing where they are at. They could easiest issue a mysql connect but they do not. That is what they should do.
I can not speak on there coding so all I can do is suggestions.
Did you do what I suggested because I would think that would help you?