Error thrown

Call to undefined function wc_nocache_headers()