After the update to the latest version of apachesolr module I get an error every time I execute a command with drush. The error that I get is:

array_keys() expects parameter 1 to be array, null given apachesolr.module:2193
Invalid argument supplied for foreach() apachesolr.module:2193

Any ideas on what may be causing this?

Comments

guruslot’s picture

Catched the same:

Notice: Undefined index: per-field in function apachesolr_get_field_mappings() (line apachesolr.module).
Warning: array_keys() expects parameter 1 to be array, null given in function apachesolr_get_field_mappings() (line 2193 apachesolr.module).
Warning: Invalid argument supplied for foreach() in function apachesolr_get_field_mappings() (line 2193 apachesolr.module).

MickC’s picture

Same as #1 - error showing up in messages on the site

sergiu.savva’s picture

sergiu.savva’s picture

Status: Active » Closed (duplicate)