Hello,
Update the theme, XStore Core plugin, WooCommerce – https://www.8theme.com/documentation/xstore/theme-installation/theme-update/ https://www.8theme.com/documentation/xstore/plugins/plugins-update/ , after the update > go to Theme Options and click on Save. Then clear all cache and check the gallery. if your site is live, create a staging site (full copy of the existing one), can do updates there first. If everything is ok then you’ll be able to update the production site.
Regards