Upon upgrading from 1.x to 2.0-rc2, I am getting the following error:

weight module

Update #7206
Failed: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'example_drupal7.field_data_weight' doesn't exist: SELECT COUNT(entity_id) FROM {field_data_weight} WHERE language=:lang; Array ( [:lang] => und ) in weight_update_7206() (line 253 of /home/example/public_html/drupal-7.12/sites/all/modules/weight/weight.install).

I thought Weight module only used the sticky field. What's this field_data_weight? Do I have to create such a field to get the upgrade to complete? Or do I have to uninstall 1.x and do a fresh install of 2.0?

Comments

davisben’s picture

Status: Active » Closed (duplicate)

Weight no longer uses the sticky field in the 7.x-2.x branch. The error you're seeing is a bug in the upgrade path that has been fixed in the commit for #1539074: PDOException while updating from 7.x-1.0.