I am getting the following error when the search box on the site returns a page of results - the error does not appear if there are no search results

Warning: Invalid argument supplied for foreach() in _metatags_quick_add_head() (line 489 of /home/stiltwal/public_html/streetents.co.uk/sites/all/modules/metatags_quick/metatags_quick.module)

If the error is generated and I then click on the metatag path tab at the top of the search results but do not fill anything in or press submit a new path appears in my path based metatags

I am also getting a generated link