If you send details to us via the contact link I can try but I dont see a query in our product for this. It could be a hack causing this. I would suggest you install the gallery disable all plugins and see if you get any error. I have a clean vbgallery installed and do not get this error which is an error on vb
software it seems not the gallery software itself.