Error log:
[Mon Jan 15 21:23:13.214568 2018] [fcgid:warn] [pid 2505:tid 140496450066176] [client <IP>:13644] mod_fcgid: stderr: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /includes/search/SearchEngine.php on line 546, referer: <URL>