You may have to update these files to ensure that they are compatible with the current version of WooCommerce. Suggestions to solve this:
Update your theme to the latest version. If there is no update available, contact the author of the topic to ask about compatibility with the current version of WooCommerce.
If you copied over a template file to change something, then you must copy the new version of the template and apply new changes.