We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Simple search error when no results found

Development and Programming

The Design Core's avatar
The Design Core
348 posts
5 years ago
The Design Core's avatar The Design Core

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. I do have a no results page specified.

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

       
The Design Core's avatar
The Design Core
348 posts
5 years ago
The Design Core's avatar The Design Core

Ended up updating to 5.3.0 and it fixed the issue.

? 1
       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.