@garthwebb since $response is only defined in that if statement above, this throws a fatal error if articleId does end up being 0. Also, I think that $service->getSuggestionQuery() on line 57 may result in an error as well if the suggestionquery is set inside of getSuggestionsForArticleId. Maybe we could initialize result with all the requisite keys set as empty before the if statement and only then grab the rest of this info?