Closed (cannot reproduce)
Project:
Pathauto
Version:
7.x-1.0-rc2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jun 2011 at 23:42 UTC
Updated:
29 Jun 2011 at 05:52 UTC
Attempted update and log file says (using pgsql):
The following updates returned messages
pathauto module
Update #7005
Failed: PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens: SELECT v.name AS name FROM {variable} v WHERE ( (name ILIKE :db_condition_placeholder_0 ESCAPE '\') OR (name ILIKE :db_condition_placeholder_1 ESCAPE '\') ); Array ( [:db_condition_placeholder_0] => pathauto\_taxonomy\_term\_%pattern [:db_condition_placeholder_1] => pathauto\_forum\_%pattern ) in pathauto_update_7005() (line 159 of ........modules/pathauto/pathauto.install).
Please advise or correct, thank you.
Comments
Comment #1
dave reidThat is very confusing. There are two parameters, and two placeholder texts. They do match. I didn't have trouble running this update hook (and so has no one else) so I wonder if something is going wrong only on your install.
Comment #2
dave reidComment #3
dave reidI also just tested this on my PostgreSQL install of Drupal 7 and the update worked just fine.
Comment #4
threading_signals commentedWorked around the issue by installing the dev version, which does not fix it but closing this ticket, since it cannot be reproduced by the maintainer. Thank you anyway.