Error thrown

Call to undefined function Automattic\WooCommerce\Admin\get_current_screen()