Reply To: Possible Bug: Division by zero in class-asp-searchoverride.php

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Possible Bug: Division by zero in class-asp-searchoverride.php Reply To: Possible Bug: Division by zero in class-asp-searchoverride.php

#16080

Ernest Marcinko
Keymaster

Hi,

Thank you for letting us know.

I'm not sure if this is a potential bug, as it may come from an incorrectly set option on the back-end. Can you please check if this option is not set to 0 on your back-end: https://i.imgur.com/dO9ayeU.png
..as well as the posts per page under the WordPress -> Reading settings is not set to 0 either: https://i.imgur.com/dOSJgaC.png
If those are above 0, it should be fine. Nevertheless, I will add an additional check for zero division in the upcoming release, just to be sure.

Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)