Update the Marketplace module and then run the Integrity Check tool with "repair module" checked, reset your cache and then update the rest of the modules.
You are not using the version of the Gallery module that has the fix for this.
There is a beta version that has the fix for this, which you can update to the beta version if you want or you can wait until the live version is released.