Hi there,
In short, the plugin is trying to look and see what level the logged-in user is. It'll find that information in capabilities.php but it needs to use a function to do that (that function is wp_get_current_user().
Plugin code fires in WordPress before this function is defined, so, your plugin breaks upon not knowing what wp_get_current_user() is.
A workaround is to define that function within the plugin. You can do this by including pluggable.php, the file where these kinds of functions are.
So insert this line near the top of your plugin:
include_once(ABSPATH . 'wp-includes/pluggable.php');