Variant creation stucked. Console shows:
Uncaught (in promise) TypeError: (intermediate value).map is not a function
Degging deeper with the debugger variantRestrictions
is broken in some way.
In the database product.variant_restrictions
is an empty JSON array []
. If I change it to NULL it worked again.
You can fix it like this:
UPDATE product SET variant_restrictions = NULL WHERE variant_restrictions = '[]';