Hello,
Update the theme, XStore Core plugin, WooCommerce – https://xstore.helpscoutdocs.com/article/63-theme-update https://xstore.helpscoutdocs.com/article/37-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