Joe I do not provide support for this old beta importer as I posted already sorry. Beta software in general does not have support and your trying to install next on a vb version that was released after this thing was created.
I can offer comments though.
Now the reason you have the issue posted above is your $albid variable is 0. My suggestion would be to check your albumpicture table in vb and see what the albumid is. Apparently based on your error you have some entries with an albumid of 0. Maybe entries that where orphaned from deleted users? I can not say. I would personally delete any entries where albumid is 0.