When using advanced search and filter, searching something with filter enabled (for example set language to all - see screenshot)
will produce this warning:
Warning: Array to string conversion in modules/mod_finder/src/Helper/FinderHelper.php on line 48
Following foreach gets array instead of string in $v variable.
foreach ($uri->getQuery(true) as $n => $v)
{
$fields[] = '<input type="hidden" name="' . $n . '" value="' . $v . '">';
}
Joomla 4.1.5
PHP 8.1.6
Labels |
Added:
No Code Attached Yet
|
how did you get language filter there? I do not have :)
When some of finder plugin has this rule:
$item->addTaxonomy('Language', $item->language);
I have the same problem
Labels |
Added:
bug
|
Is this still an issue? The line referenced here is now an empty line and I did fix some issuers there some time ago.
Labels |
Added:
Information Required
|
Closing since there has been no response in the last 10 days. I'm rather certain that the bug has been fixed in the past already.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-03-09 11:30:56 |
Closed_By | ⇒ | Hackwar |
how did you get language filter there? I do not have :)
However I tried with other fields: Type, Author, and did not get such error