Hi Muhammad,
WaAlaikum AsSalam, I hope that you are doing great.
I think there is a plugin conflict/compatibility issue.
Please kindly do a plugin compatibility check by doing these steps to identify the error :
=> Deactivate your additional plugins except WooCommerce and WooCommerce Variation Swatches Plugin.
=> See if the problem persists. If the issue is resolved, you can tell which plugin might be the culprit of this error by activating your additional plugins individually.
I look forward to hearing from you soon.
Thank you
Variations not working
Muhammad Yusuf
Assalamualaykum Variations not working.