Trying to get this working on a fresh install and I has some issues with the registration module.
Eventually I disabled all registration modules, cleared the DB of the tables, ran cron and update php, and reinstalled the entity registration cleanly, using the latest dev which works now fine. (entity_registration 7.x-2.x-dev dated 2016-Feb-24)

I then followed the same process for redhen registration, using the release and dev versions.

Each time, the same error :

PDOException : SQLSTATE[42S22]: Column not found: 1054 Unknown column 'registration.user_uid' in 'where clause': SELECT registration.registration_id AS entity_id, registration.type AS bundle, :entity_type AS entity_type, NULL AS revision_id FROM {registration} registration WHERE (registration.user_uid = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 3 [:entity_type] => registration ) dans EntityFieldQuery->execute() (ligne 1192 dans /home/XXXXXXXXXXXXX/includes/entity.inc).

I searched for this in the modules and think I found the issue : entity registration has renamed the user_uid column to registrant_id :

egrep -R user_uid ./registration/*
./CHANGELOG.txt:- Registration objects no longer have a "user_uid" field. This field has been renamed
./registration.install: db_change_field('registration', 'user_uid', 'registrant_id', array(

egrep -R user_uid ./redhen:modules/redhen_registration/*
./redhen_registration.module: $query->propertyCondition('user_uid', $user->uid, '=');

I changed the line to
$query->propertyCondition('registrant_id', $user->uid, '=');

Not being a developer, i leave it to someone qualified here to issue the relevant patch and release update - this could have implications elsewhere I'm not aware of.

Comments

ehanuise created an issue. See original summary.

ehanuise’s picture

Issue summary: View changes