Issue #1900974 by pjcdawkins, marcelovani: facetapi_get_block_info() throws warning: array_search() expects parameter 2 to be array, null given.