• Resolved Tommy

    (@baptistej)


    Hello, I’m getting this warning in my logs, not sure if that’s a big deal.

    16528347 FastCGI sent in stderr: “PHP message: PHP Warning: A non-numeric value encountered in /home/website/web/public/wp-content/plugins/lightbox-photoswipe/src/LightboxPhotoSwipe/ExifHelper.php on line 126” while reading response header from upstream.

    PHP 8.1, NGINX, WP 6.0.2

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    This means you have one or more images with strange EXIF data.

    The affected line reads the fstop value which should be a number. If it is not, you get this warning.

    I’ll add a workaround to use the unfiltered value if it is not a number. But it would be helpful if you could send me an example image which triggers this warning. See my contact address here: https://arnowelzel.de/en/about-me

    Plugin Author Arno Welzel

    (@awelzel)

    Release 5.0.9 should fix the warning. However since a non numeric fstop value can not be used, it will be ignored. I would need to have a copy of the image(s) which cause this problem to come up with a better fix if possible.

    Plugin Author Arno Welzel

    (@awelzel)

    Thanks for providing sample images I was able to finally provide a correct fix. Release 5.0.10 now contains the correct fstop calculation for fstop values expressed as FNumber like “80/10” for f/8.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP warning in logs’ is closed to new replies.