It appears that the modules assumes that search results have all the standard data, like snippet, score, and data. I have to look into if they're optional, but I think they might be. So if you use a core 'user' search or similar, you'll see messages like these:

# Notice: Undefined index: date in opensearch_feed() (line 157 of /home/dave/Projects/www/drupal6dev/sites/all/modules/opensearch/opensearch.pages.inc).
# Notice: Undefined index: score in opensearch_feed() (line 158 of /home/dave/Projects/www/drupal6dev/sites/all/modules/opensearch/opensearch.pages.inc).
# Notice: Undefined variable: items in opensearch_feed() (line 158 of /home/dave/Projects/www/drupal6dev/sites/all/modules/opensearch/opensearch.pages.inc).
# Notice: Undefined index: snippet in opensearch_feed() (line 158 of /home/dave/Projects/www/drupal6dev/sites/all/modules/opensearch/opensearch.pages.inc).
# Notice: Undefined index: pager_total_items in opensearch_feed() (line 162 of /home/dave/Projects/www/drupal6dev/sites/all/modules/opensearch/opensearch.pages.inc).
# Notice: Undefined index: pager_page_array in opensearch_feed() (line 163 of /home/dave/Projects/www/drupal6dev/sites/all/modules/opensearch/opensearch.pages.inc).

Comments

dave reid’s picture

Fixed most of the errors in CVS except for 'date' and 'snippet'.
http://drupal.org/cvs?commit=306428

dave reid’s picture

Status: Active » Fixed

All PHP notices are gone now. Hooray!

avpaderno’s picture

Yippee!!
I will miss the little PHP notices, but I will survive. :-)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.