Dear support team,
It seems that there is a possible bug in the class-asp-searchoverride.php file:
While typing some search phrases (but not all of them), I’ve got an error in my WAMP (localhost dev) the following:
Division by zero in C:\wamp64\www\iglazer\wp-content\plugins\ajax-search-pro\includes\classes\filters\class-asp-searchoverride.php in line 91.
It is important to mentioned that I am using two searches. they are one on top of the other. a javascript a swiching the visibilty between them, and as they look the same – it is unnoticeable.
As a current workaround, i’ve modified the mentioned file, and added this line:
$posts_per_page = $posts_per_page == 0 ? 1 : $posts_per_page;
I would be happy to get a proper fix.
Regards,
Yaniv.