0

I'm using simple search with EE 5.2.1. Searches work fine when there is a matching result, but I get the following error when no results are found:

Warning array_unique() expects parameter 1 to be array, null given ee/EllisLab/Addons/search/mod.search.php, line 1147

Severity: E_WARNING Warning count(): Parameter must be an array or an object that implements Countable ee/EllisLab/Addons/search/mod.search.php, line 1147

Severity: E_WARNING Warning Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:120) ee/legacy/libraries/Functions.php, line 393

Severity: E_WARNING

  • did you specify a no results page? sounds like it's expecting results to be there – Jelle Dijkstra Jan 15 at 8:28
  • Yes, I did specify a no results page. – mediapimp Jan 15 at 15:08
1

I updated EE to 5.3.0 and it fixed the issue.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.