I was having this same error with Woocommerce where the product choice wasn’t being honored.
I disabled the Defer Render-blocking JavaScript in the SG Optimizer and the problem went away.
Any chance that this will be fixed in the SG Optimizer so that it doesn’t stop WooCommerce from running the variations portion of the system?