I use Views 3 on a D7 site (sqlite) together with Weight. When I change the order of a list per drag&drop and want to save the changes via ajax request I am redirected to a page showing the following errors:

  • Notice: Undefined index: expression in UpdateQuery_sqlite->execute() (line 99 of /www/htdocs/w0098929/CMS/includes/database/sqlite/query.inc).
  • PDOException: SQLSTATE[HY000]: General error: 1 near ")": syntax error: UPDATE {weight_weights} SET weight=:db_update_placeholder_0_469 WHERE ( (entity_id = :db_condition_placeholder_0) )AND ( (weight <> ) OR (weight IS NULL ) ) ; Array ( [:db_condition_placeholder_0] => 469 [:db_update_placeholder_0_469] => -100 ) in _weight_set_weight() (line 430 of /www/htdocs/w0098929/CMS/sites/all/modules/weight/weight.module).

Could anybody help me to find out what this means?
thnx!

Comments

headkit’s picture

Issue summary: View changes

changed format

davisben’s picture

Status: Active » Fixed

This has been fixed and committed to 7.x-2.x.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

changed format again