Before updating to WordPress 5.0, make sure you’re running WooCommerce 3.5.1+

When WordPress 5.0 is released this month – currently planned for November 19 – your site needs to be running WooCommerce 3.5.1+ to avoid breaking changes. This is even more important if you have auto-updates toggled on.
Source