WordPress.org

Support

Support » Plugins and Hacks » RSS Image Feed » [Resolved] PHP Warning: Division by zero

[Resolved] PHP Warning: Division by zero

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author tepelstreel

    @tepelstreel

    Sorry for that. I just managed to avoid those for other installations. But I’m anyway fixing more stuff in the plugin, since not all is working as it should.

    Perhaps 3.6 brings something better.

    Hi in update 3.6 I have the same error PHP Warning: Division by zero, but it is here.

    rss-image-feed/class-lib/A5_ImageClass.php on line 284

    Plugin Author tepelstreel

    @tepelstreel

    Could you provide me with a link to your feed? I don’t know what kind of images you use. If they are not on your server, it is sometimes a problem to get the image sizes.

    In update 3.6 everything was OK, after I restarted the plugin. But 3.7 again has

    PHP Warning: Division by zero in
    rss-image-feed/class-lib/A5_ImageClass.php on line 307
    rss-image-feed/class-lib/A5_ImageClass.php on line 311
    rss-image-feed/class-lib/A5_ImageClass.php on line 200

    and restarting plugin doesn’t help.

    Plugin Author tepelstreel

    @tepelstreel

    Could you provide me with a link to your feed? I don’t know what kind of images you use. If they are not on your server, it is sometimes a problem to get the image sizes.

    Plugin Author tepelstreel

    @tepelstreel

    Thanks a lot!

    The only thing is, in Firefox I don’t see any of the mistakes. It’s just a proper feed with all images showing. Where do your devide by zero errors occure exactly?

    Are they in the error log?

    Yes in error log. And yes feed is working as it should, but I am getting repeating errors in log.

    Plugin Author tepelstreel

    @tepelstreel

    I’m affraid, I cannot really help then.

    I just hotlinked an image of your feed to my testing environment and didn’t get any error. Neither directly nor in the log.

    Sorry, but I think you gonna have to live with your log filled for while until I find a solution for the problem.

    Plugin Author tepelstreel

    @tepelstreel

    There shouldn’t be any errors now.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] PHP Warning: Division by zero’ is closed to new replies.
Skip to toolbar