This also happened to me. I ran the upgrade.php and it fixed the problem. Thing is with my site, every time a new user registers and uploads photos they don't show up in the members gallery and I have to run the upgrade again. Every time.
Is there a fix for this? Thanks.