This is the error message:
Invalid argument supplied for foreach() in entity_metadata_convert_schema() (line 151 of /trunk/sites/all/modules/entity/entity.info.inc).
And in watchdog:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'domain.org.registration_state' doesn't exist: SELECT base.registration_state_id AS registration_state_id, base.name AS name, base.label AS label, base.description AS description, base.default_state AS default_state, base.active AS active, base.show_on_form AS show_on_form, base.weight AS weight, base.status AS status, base.module AS module FROM {registration_state} base WHERE (base.status IN (:db_condition_placeholder_0, :db_condition_placeholder_1, :db_condition_placeholder_2)) ; Array ( [:db_condition_placeholder_0] => 3 [:db_condition_placeholder_1] => 2 [:db_condition_placeholder_2] => 6 ) in EntityAPIController->query() (line 152 of /trunk/sites/all/modules/entity/includes/entity.controller.inc).
Then error message started when I tried to update the module
Comments
Comment #1
siilak commentedSame thing here
Comment #2
egyptianbman commentedI am getting this error as well. I attempted to run update.php, and got:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'domain.registration_state' doesn't exist: SELECT base.registration_state_id AS registration_state_id, base.name AS name, base.label AS label, base.description AS description, base.default_state AS default_state, base.active AS active, base.show_on_form AS show_on_form, base.weight AS weight, base.status AS status, base.module AS module FROM {registration_state} base WHERE (base.status IN (:db_condition_placeholder_0, :db_condition_placeholder_1, :db_condition_placeholder_2)) ; Array ( [:db_condition_placeholder_0] => 3 [:db_condition_placeholder_1] => 2 [:db_condition_placeholder_2] => 6 ) in EntityAPIController->query() (line 152 of /path_to_domain/sites/all/modules/entity/includes/entity.controller.inc).Comment #3
SlashCrew commentedyes, same error as me
Comment #4
SlashCrew commentedAnyone knows anything about this ?
Comment #5
SlashCrew commentedIt's a bug in http://drupal.org/project/registration not Entity API. My solution was not uninstall Entity Registrations and install the latest dev. Remember Entity Registrations is a very young ( and very cool ) module under heavy development.