I don’t know if this is a bug or just some humble fumble from me but I get this error when using SimpleSearch:
An exception has been thrown during the rendering of a template ("Invalid argument supplied for foreach()") in "simplesearch_results.html.twig" at line 12.
`Open: /srv/data/web/vhosts/domain.tld/htdocs/vendor/twig/twig/lib/Twig/Templ ate.php
if (false === $e->getTemplateLine()) {
$e->setTemplateLine(-1);
$e->guess();
}
throw $e;
} catch (Exception $e) {
throw new Twig_Error_Runtime(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $template->getTemplateName(), $e);
}
} elseif (false !== $parent = $this->getParent($context)) {`
But if I specify one language (en-US, fr-FR…) in the Admin:
Settings > Language > Supported (fir st field)
it triggers the error. Leaving/Return it blank is ok.
So: SimpleSearch bug? Admin bug? or just plain n00b mess?