Error thrown

Call to undefined function MailPoet\WP\register_widget()