Receive this error anytime initiate a search:
* warning: htmlspecialchars() expects parameter 1 to be string, array given in /var/www/html/drupal/includes/bootstrap.inc on line 597.
* warning: Invalid argument supplied for foreach() in /var/www/html/drupal/modules/civicrm/CRM/Contact/BAO/Query.php on line 332.
* warning: array_keys() [function.array-keys]: The first argument should be an array in /var/www/html/drupal/modules/civicrm/CRM/Contact/BAO/Query.php on line 889.
* warning: Invalid argument supplied for foreach() in /var/www/html/drupal/modules/civicrm/CRM/Contact/BAO/Query.php on line 889.
* warning: array_keys() [function.array-keys]: The first argument should be an array in /var/www/html/drupal/modules/civicrm/CRM/Contribute/BAO/Query.php on line 76.
* warning: Invalid argument supplied for foreach() in /var/www/html/drupal/modules/civicrm/CRM/Contribute/BAO/Query.php on line 76.
* warning: array_keys() [function.array-keys]: The first argument should be an array in /var/www/html/drupal/modules/civicrm/CRM/Member/BAO/Query.php on line 91.
* warning: Invalid argument supplied for foreach() in /var/www/html/drupal/modules/civicrm/CRM/Member/BAO/Query.php on line 91.

And this in the error log:
htmlspecialchars() expects parameter 1 to be string, array given in /var/www/html/drupal/includes/bootstrap.inc on line 597.

Environment:
FC5, MySQL 5, PHP 5
Database: utf8_unicode
Installed modules: civicrm 1.5, civinode, cck,
OG not installed.

Reproducible: YES - install civinode, civicrm, cck and do a search.

TIA

Comments

Torenware’s picture

Status: Active » Postponed

This is a fun bug. Not a CiviNode bug, but a CiviCRM issue:

CRM-1309: civicrm_search() API conflicts with Drupal hook_search()

This is a serious CiviCRM bug, and I suspect that Lobo will fix it pretty quickly. Watch the CiviCRM bug report or subscribe to it for news.

Torenware’s picture

Status: Postponed » Closed (won't fix)

This has been fixed by Lobo in CiviCRM.