We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SearchFormViewHelper breaks the Page if there are no QueryParameters in the Request.
$arguments = $request->getQueryParams()[$pluginNamespace]; ArrayUtility::mergeRecursiveWithOverrule($arguments, $request->getParsedBody()[$pluginNamespace]);
A Check resolves this Problem:
$arguments = $request->getQueryParams()[$pluginNamespace] ?? []; $bodyArguments = $request->getParsedBody()[$pluginNamespace] ?? []; ArrayUtility::mergeRecursiveWithOverrule($arguments, $bodyArguments);
Used versions (please complete the following information):
The text was updated successfully, but these errors were encountered:
Please provide a Pull-Request for that issue.
Sorry, something went wrong.
I can confirm that behaviour. A warning is thrown in debug mode:
PHP Warning: Undefined array key "tx_solr" in vendor/apache-solr-for-typo3/solr/Classes/ViewHelpers/SearchFormViewHelper.php line 148
The parameter keepExistingParametersForNewSearches has to be set for this error.
[BUGFIX] Add empty array defaults in SearchFormViewHelper
438e0eb
Adds empty array defaults in SearchFormViewHelper::getExistingSearchParameters to prevent TYPO3 TypeError. Fixes: TYPO3-Solr#4040
Successfully merging a pull request may close this issue.
SearchFormViewHelper breaks the Page if there are no QueryParameters in the Request.
A Check resolves this Problem:
Used versions (please complete the following information):
The text was updated successfully, but these errors were encountered: