This is a weird error when logging in with Coursepress

Notice: Undefined property: WP_Error::$ID in /www/wp-content/plugins/coursepress/themes/coursepress/functions.php on line 453

I see this whenever I try to login now. It's new within the past couple days. When I look at that line in the functions.php file, it's just asking for user_id I think