I upgrade my drupal 6 site to D7. After enabling Node Order module, I see this error message on my homepage now:
Warning: Missing argument 3 for db_query_range(), called in /Users/tuygun/Projects/drupal-project/drupal6/sites/all/modules/nodeorder/nodeorder.module on line 493 and defined in db_query_range() (line 2433 of /Users/tuygun/Projects/drupal-project/drupal6/includes/database/database.inc).
Notice: Undefined variable: count in db_query_range() (line 2438 of /Users/tuygun/Projects/drupal-project/drupal6/includes/database/database.inc).
PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%d) AND n.status = 1 ORDER BY n.sticky DESC, tn.weight_in_tid LIMIT 1, 0' at line 1: SELECT DISTINCT(n.nid), n.sticky, n.title, n.created, tn.weight FROM {node} n INNER JOIN {taxonomy_index} tn ON n.vid = tn.vid WHERE tn.tid IN (%d) AND n.status = 1 ORDER BY n.sticky DESC, tn.weight_in_tid LIMIT 1, 0; Array ( ) in nodeorder_select_nodes() (line 493 of /Users/tuygun/Projects/drupal-project/drupal6/sites/all/modules/nodeorder/nodeorder.module).
Has anybody encountered same error that can lead me to take care of this error?
Comments