**Describe the bug**
Keep loading when product update with more than 1 images in gallery, and finally 500 error
Steps to reproduce the behavior:
1. Go to product edit page and update it with more than 1 images in gallery
2. Click update, then keep loading, finally 500 error.
Should be updated shortly.
This request takes too long to process, it is timed out by the server. If it should not be timed out, please contact administrator of this web site to increase 'Connection Timeout'.
**Enviroment (please complete the following information):**
- Plugin Version 1.1.7
- WordPress Version [e.g. 5.7.2
- WooCommerce Version 5.3.0