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

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

1 Answer 1

1

I updated EE to 5.3.0 and it fixed the issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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