When the search box pane has no #default_value and there is no value in the form_state this error shows after clearing the cache:
Notice: Undefined index: args in apachesolr_panels_form_apachesolr_panels_search_form_alter() (line 138 of sites/all/modules/contrib/apachesolr_panels/plugins/content_types/apachesolr_form.inc).
Notice: Undefined index: args in apachesolr_panels_form_apachesolr_panels_search_form_alter() (line 142 of sites/all/modules/contrib/apachesolr_panels/plugins/content_types/apachesolr_form.inc).
After inspecting lines 138 and 142 of the file apachesolr_form.inc, if either $arg[1] and $arg[3] variables are empty then this notice will show.
I'll be submitting a patch shortly.
Comments
Comment #2
jcmartinezComment #3
jcmartinezThis is a small patch that checks whether a value is not empty before using it.
Comment #4
acbramley commentedThanks @jcmartinez but this needs to be rolled relative to the module directory, and against 7.x-1.x
Comment #5
jason.bell commentedHaving the same issue. Recreated the patch from module root relative to current 7.x-1.x
Comment #7
acbramley commentedThanks :)