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.
This is the error when i try to search something with finder
ResponseText: PDOException: SQLSTATE[HY093]: Invalid parameter number: parameter was not defined: SELECT node.title AS finder_element_1_node_title
FROM
{node} node
WHERE (( (node.type IN (:db_condition_placeholder_0_#conjunction, :db_condition_placeholder_0_0, , :db_condition_placeholder_2)) ))
GROUP BY finder_element_1_node_title; Array
(
[:db_condition_placeholder_2] => 1
[:db_condition_placeholder_0_#conjunction] => OR
[:db_condition_placeholder_0_0] => Array
(
[field] => news
[value] =>
[operator] => IS NULL
)
)
in finder_find_query() (linea 1038 di /****/sites/all/modules/finder/finder.module).
Comments
Comment #1
molave CreditAttribution: molave commentedGot this error too. Tried Node Finder using Autocomplete. Subscribing. Thanks.
Comment #2
danielb CreditAttribution: danielb commentedCheers guys, a few things in autocomplete weren't upgraded properly.
Comment #3
danielb CreditAttribution: danielb commentedthis is still an issue for me
Comment #4
danielb CreditAttribution: danielb commentedSeems to affect other things than autocomplete as well.
bugger me, it's a tough one to figure out
Comment #5
danielb CreditAttribution: danielb commentedI think finder_conditions() need to be rewritten. I tried my best to use the D7 database API to create 'groups' of conditions, but I just don't think it works.
Comment #6
danielb CreditAttribution: danielb commentedComment #7
danielb CreditAttribution: danielb commentedI've committed a fix it should appear in the next dev snapshot.
Comment #8
danielb CreditAttribution: danielb commentedComment #10
nymo CreditAttribution: nymo commentedI'm getting the same error using the sqlsrv module... i was wondering, could you post your fix or explain what you did to fix the problem?
UPDATE: nm, found patch at http://drupal.org/node/1153174#comment-5097508 from http://drupal.org/node/1286792#comment-5097526.