Update woocommerce-core-functions.php

correct tables array