Warning message showing on the widget
-
Hi
(Sorry in advance for my bad english.)
I’ve just updated the plugin. It went well, but now I got a Warning message right under my post’s date “Warning: Division by zero in /home/u119679723/public_html/wp-content/plugins/category-posts/cat-posts.php on line 257“
Here a screen of my problem :
http://crc-marseille.esy.es/wp-content/uploads/2016/04/Warning-msg.png
(The Warning message’s link is directing to the article.)I tried to check that line 257 but I don’t understand a thing…
Thank you for your help!
-
Ok, thanks.
You have posts with no thumbnails/feature images?
You can check the option ‘exclude posts which have no thumbnails’.
And we have to fix this code after line 254: if ( empty( $file)) return $Html;All my posts have a thumbnail
I just don’t want the message showing on my website.
I don’t have any notion in PHP, so I don’t really know what to do with these lines, sorry…Thank you for the reply!
I have the same issue!
Please advise!Can you set a thumbnail width and height?
We’ll patch it with a new version within the next hours!
Yes the option is still there.
Thank you for your work!
We had the bug:
Setted thumbnail dimentions in the widget (width and height) have to be smaller as in Settings > Media > Large size. (Attention: Not the dimentions form your uploaded image!)
We have to patch it … ;(
Hello,
we fixed the bug and release a new version 4.1.7. This version should patch the problem.
Can you give us a short feedback, if the patch which comes with 4.1.7 works for you?
Hello,
we made another bugfix for this issue. Now with smaller uploaded images.
Are you familair with GitHub? Because you can download the code there (https://github.com/mkrdip/category-posts-widget) and copy it to your plugin folder ([your-wp-installation]/wp-content/plugins/category-posts-widget) to your wordpress installation.
The topic ‘Warning message showing on the widget’ is closed to new replies.