Very strange, it sounds like it went through an update but some of the core files failed to update.
Don’t think this is related to WooCommerce because WP does have the function being called, located in /wp-admin/includes/template.php
I get a lot of these errors on a daily basis. Just had another pop up…
Fatal error: Call to undefined function set_screen_options() in /home/bristol2/public_html/wp-admin/admin.php on line 90
It’s making WP virtually unusable.
And another…
Fatal error: Call to undefined function _get_list_table() in /home/bristol2/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-post-types.php on line 1439
I would recommend 3 things:
- Disable auto updates
- Confirm proper file permissions
- Check your server for intrusion
It should not be working and then not working.
Do you have any security, caching or backup plugins in place?
The plugins I have running are
WooCommerce, Version 2.6.13, By WooThemes
WooCommerce PayPal Express Checkout Gateway, Version 1.1.2, By Automattic
WooCommerce Shipping Pro with Table Rate (BASIC), Version 1.2.0, By WooForce
WooCommerce Stripe Gateway, Version 3.0.7, By WooCommerce
WPForms Lite, Version 1.3.2, By WPForms
Auto updates are disabled, no security, caching or back up plugins. Not sure how to confirm file permissions or check server. Bit of a novice here tbh.
I would contact your hosting provider then, see if they notice any suspicious activity on your server.
I would also look into a security plugin, some that come to mind is
WordFence
All in One Security and Firewall