This bug only happens when the zoom type is set to be zoom-in (the default is lightbox) for the product pages on mobile. As you change the landscape/portrait mode, the zoom functionality will throw an error.
The issue is a typo inside theme.js, where the zoom-in is destroyed and reinitialized at line:928 . It should be self instead of this, as in var self = this; at line:903.
So it must be self.selectors.$productSinglePhotos.trigger('zoom.destroy');