Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #0.0
headkit CreditAttribution: headkit commentedchanged format
Comment #1
davisbenThis has been fixed and committed to 7.x-2.x.
Comment #2.0
(not verified) CreditAttribution: commentedchanged format again