Fatal error: Call to undefined function get_header()

I am getting this error with all themes – what do I do?