2020-06-11, 02:07:27
(2020-05-12, 19:28:11)Alan-A Wrote: I'm using i18n and i18n search in my web-site and after after carrying out a search from either the search form or the tag cloud the page is loaded with a mixture of languages. This only happens when I call the search with my site's second language (English) active.
Hello,
Sorry, I glossed over this when you first posted – too complicated and in a hurry ... ;-)
Which browser are you using? With Firefox 77 (on Linux), I saw the effect that you describe, until I disabled Enhanced Tracking Protection in Firefox, for your site. Then it works as expected.
Testing in Chromium (Linux), it also works as expected.
After getting it working in Firefox, I can enable tracking protection again and it continues to work. I'm not able to clear the browser cache right now, so I can't check the effect of doing that.
So, it would appear to be a cookie-setting issue (guesswork).
You can ignore the PHP warning, or modify the file (path given in the warning that you posted), line 219, to:
Code:
'haschildren' => $showChildren ? count((array)$children) > 0 : self::hasChildren($childurl, $show)
--
Nick.
Nick.