Error thrown

Call to undefined function wp_get_active_and_valid_themes()