When searching for some results, an array to string conversion error rises on GalleryUrlGenerator.class on the search result form.
The reason is due to the way the cached urls are generated. As of now the query params are rebuilt manually concatenating the results of parse_str. As some of the values might be of array type (for example g2_form[], etc), the conversion fails.
Using a more robust query builder will be better, for example http_build_query.
When searching for some results, an array to string conversion error rises on
GalleryUrlGenerator.class
on the search result form.The reason is due to the way the cached urls are generated. As of now the query params are rebuilt manually concatenating the results of
parse_str
. As some of the values might be of array type (for exampleg2_form[]
, etc), the conversion fails.Using a more robust query builder will be better, for example
http_build_query
.