[BUG] Required argument "queryString" is not set for ApacheSolrForTypo3\Solr\Controller\SuggestController->suggest
Describe the bug
On my website I have lots of bots doing crazy things and sometimes also humans do crazy things, I'm not sure but I can see lots of exceptions on my system like this:
Required argument "queryString" is not set for ApacheSolrForTypo3\Solr\Controller\SuggestController->suggest.
To Reproduce Steps to reproduce the behavior:
- Call
https://www.example.de/suche/?type=7384with the suggestion enabled or - Call
https://www.example.de/suche/suggest.jsonif mapping was setup
Expected behavior An error message but not an exception
Used versions (please complete the following information):
- EXT:solr Version: 11.5.6 but happens on also latest version as well
Hi @simonschaufi,
have you found a solution to the problem, i have the same error message for the current version.
For now I'm just ignoring the errors. Maybe it would be possible with a htaccess rule to block those kind of requests.
You need to pass a search word via tx_solr[queryString] parameter.
Bots don't do that! :smile: