[Plugin: WP MediaTagger] Mediatagger – Warning: division by zero on results page
-
On my results page after a search or by hitting a tag in the tag cloud there is the following text repeated 7 times:
Warning: Division by zero in /nfs/giovanni11/dw21/d35/chabride/wordpress/wp-content/plugins/wp-mediatagger/mediatagger.php on line 527Warning: Division by zero in /nfs/giovanni11/dw21/d35/chabride/wordpress/wp-content/plugins/wp-mediatagger/mediatagger.php on line 534
A link to the results page: https://students.washington.edu/chabride/wordpress/?page_id=176
I am running wordpress on my student page from a University server.
Here are the lines of code (I think):
527$img_ratio = $img_info->h/$img_info->w;
534$img_h = round($img_info->h * $img_w / $img_info->w, 0);
This is the info from the plug-in footer.
WP MediaTagger 3.2 | PHP 5.2.9 | MySQL 5.0.45 | GD Lib bundled (2.0.34 compatible)Any help would be appreciated. The results do appear below the warnings, but it would be great not to have the warnings at all.
Thank you
- The topic ‘[Plugin: WP MediaTagger] Mediatagger – Warning: division by zero on results page’ is closed to new replies.