vbulletin 4 should automatically disable the plugin system as part of there upgrade.
1. upgrade your forum
2. upgrade your gallery
that is all there is to it here. The error you posted in post 7 is from having 2.5 vbgallery installed on a vb
4.x which is not right which is why I say you need to upgrade.