• Resolved akxak

    (@akxak)


    Hi!

    When uploading (already resized from 4608×3456 to 2304×1728) pictures, about 2/3 do not get thumbnails and are not displayed. The server error log shows

    PHP Warning: Division by zero in ../wp/wp-content/plugins/photo-gallery/frontend/views/BWGViewThumbnails.php on line 194

    many times. That even crashed yesterday the virtual server requiring hoster support action.

    On the plugin homepage I find a thread 2.5 years old describing exact that problem.

    Looking at the source, there are enough occassions where the developer assumes that variables used for division are not zero…

    How to fix?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Contributor Photo Gallery Support

    (@photogallerysupport)

    Hi,

    Probably, there is a limitation problem. Please decrease the sizes of the images and afterwards, upload them.

    Thank you! Have a nice day!

Viewing 1 replies (of 1 total)

The topic ‘Division by zero when uploading’ is closed to new replies.