I am running Entity Reference and Content Access on my site.. In order for non-superusers to be able to create content I had to apply the following patch to entity.inc..
The issue is that with this patch I am not able to reference users with entity reference because it gives the following error..
Recoverable fatal error: Method DatabaseCondition::__toString() must return a string value in EntityReferenceHandler_user->entityFieldQueryAlter() (line 289 of C:\wamp\www\2012-01-12\sites\all\modules\entityreference\handler\base.inc).
Reverting to the unpatched entity.inc file gets user references working but obviously returns the first issue..
Anyone have any ideas?