- April 28, 2020 at 10:09 am #26950
I install ajax search pro an a wordpress multisite.
The search on the main site is set to search the subsite of the network.
Everything is working well but i have this error in the logs:
2020/04/28 08:37:26 [error] 2146#2146: *350 FastCGI sent in stderr: “PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /www/mywebsite/public/wp-content/plugins/ajax-search-pro/includes/classes/search/class-asp-search.php on line 204” while reading response header from upstream, client: 22.214.171.124, server: mywebsite, request: “POST /wp-admin/admin-ajax.php HTTP/1.0”, upstream: “fastcgi://unix:/var/run/php7.4-fpm-thedownloadcenter.sock:”, host: “www.mywebsite”, referrer: “https://www.mywebsite/”
I have got this error each time i enter text on the search bar and the result show, i do not have to click on the result to get the error.
I have also search form on other subsite of the network, searching trough post. I have no problem, no error log. they have the same theme and plugin.
It look like the only difference is what they are search for (post or subsite).
Do you need login?
Thank you for your help.April 28, 2020 at 10:15 am #26952
Thank you, that is actually a minor bug, I can confirm it. It comes up under very rare conditions only, that is why it was not detected yet. I will not do anything wrong though (it is only a minor syntactical mistake), you can safely ignore it for now.
I will make sure to correct that for the upcoming release.Best,
If you like my products, don't forget to rate them on codecanyon :)
April 28, 2020 at 10:58 am #26953
indeed, other than that everything works perfectly. So I ignore that logs. Thank you for your quick answer and your plugin!April 28, 2020 at 2:41 pm #26961
You must be logged in to reply to this topic.