The server logs have a lot of division-by-zero errors, where could they be coming from?
most often division-by-zero errors appear during pagination
do a preliminary check whether the denominator equals zero, and if it is zero, then the result is zero
thanks, I fixed everything, but the division-by-zero errors remain
the server logs should also indicate the file and line where such errors occur
you probably haven't checked integer division in php yet — for that the percent sign % is used
Comments