Hi Mark,
Sorry about initially logging this in the wrong place.
I've just installed 5.0.1 free version and it's causing a failure trying to log out. I haven't yet done any investigation for this, it may be a problem specific to me.
I have just moved the site the failure occurs on to new host SiteGround so this would be the first Wordfence update there.
Can I get a version of 4.0.3 from somewhere so I can get Wordfence running again. Once that's done I'll clone my site and look at 5.0.1 there tomorrow morning (as my ISP data peak period limits are running out, morning is offpeak).
This error reported logging out is:-
Fatal error: Call to undefined function wp_get_current_user() in ...../wp-includes/user.php on line 209
Thanks,
Mike.