New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
divide by zero error in some instances where items per row is zero #41
Comments
Warning: Division by zero in /home/ben49955/public_html/benelec.co/wp-content/plugins/testimonials-by-woothemes/woothemes-testimonials-template.php on line 96 Warning: Division by zero in /home/ben49955/public_html/benelec.co/wp-content/plugins/testimonials-by-woothemes/woothemes-testimonials-template.php on line 97 Warning: Division by zero in /home/ben49955/public_html/benelec.co/wp-content/plugins/testimonials-by-woothemes/woothemes-testimonials-template.php on line 151 Warning: Division by zero in /home/ben49955/public_html/benelec.co/wp-content/plugins/testimonials-by-woothemes/woothemes-testimonials-template.php on line 96 Warning: Division by zero in /home/ben49955/public_html/benelec.co/wp-content/plugins/testimonials-by-woothemes/woothemes-testimonials-template.php on line 97 Warning: Division by zero in /home/ben49955/public_html/benelec.co/wp-content/plugins/testimonials-by-woothemes/woothemes-testimonials-template.php on line 151 Warning: Division by zero in /home/ben49955/public_html/benelec.co/wp-content/plugins/testimonials-by-woothemes/woothemes-testimonials-template.php on line 96 Warning: Division by zero in /home/ben49955/public_html/benelec.co/wp-content/plugins/testimonials-by-woothemes/woothemes-testimonials-template.php on line 97 Warning: Division by zero in /home/ben49955/public_html/benelec.co/wp-content/plugins/testimonials-by-woothemes/woothemes-testimonials-template.php on line 151 |
@dwainm Pull request? :) Submit to "master" branch for now. We can always merge it in with the next release. :) cc: @jameskoster |
if its fine i'll submit a pull request to master |
Please do. :) Matt Cohen http://woothemes.com/ On Wednesday 15 January 2014 at 12:24 PM, Dwain Maralack wrote:
|
@dwainm please send to release-1-5-1 :) |
Done :) |
added extra checking to avoid devicde by zero php error Fixes #41
This issue is probably very rare but it does happen in some instances. I found adding another check to ensure that the number is greater than zero removed the errors.
The text was updated successfully, but these errors were encountered: