Call to undefined function get_userdata in user.php

Well, it was a plugin after all. Since several activated plugins seemed to trigger the error, I thought What is a common plugin here?

It turns out that admin-language was the culprit. With hindsight, that may no be a surprise: that page says:

This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.