Rules Workflow: Data selector is invalid A website that has a workflow system based on Rules, as detailed here

Some of the rules use the condition 'User has role(s)', and all these rules now show the following error:


  Error: Data selector site:current-user for parameter account is invalid.


The condition must have been valid when it was created, or the rule would not have been saved.

The site uses Entity API 7.x-1.0-rc3 and Rules 7.x-2.2.

Any suggestions? Even deleting and recreating the rule does not work, as I cannot seem to find site-current-user in the Data Selector dropdown.
The problem was with the UUID module. Updating it to the latest version fixed this issue.

Similar problem at: Enabling UUID breaks rules config set by Ubercart.