Title: PHP warning in logs
Last modified: September 8, 2022

---

# PHP warning in logs

 *  Resolved [Tommy](https://wordpress.org/support/users/baptistej/)
 * (@baptistej)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/php-warning-in-logs-4/)
 * 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](https://wordpress.org/support/users/awelzel/)
 * (@awelzel)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/php-warning-in-logs-4/#post-15990949)
 * 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](https://arnowelzel.de/en/about-me)
 *  Plugin Author [Arno Welzel](https://wordpress.org/support/users/awelzel/)
 * (@awelzel)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/php-warning-in-logs-4/#post-15991007)
 * 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](https://wordpress.org/support/users/awelzel/)
 * (@awelzel)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/php-warning-in-logs-4/#post-15998631)
 * 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.

 * ![](https://ps.w.org/lightbox-photoswipe/assets/icon-256x256.png?rev=2906302)
 * [Lightbox with PhotoSwipe](https://wordpress.org/plugins/lightbox-photoswipe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/lightbox-photoswipe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/lightbox-photoswipe/)
 * [Active Topics](https://wordpress.org/support/plugin/lightbox-photoswipe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/lightbox-photoswipe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/lightbox-photoswipe/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [Arno Welzel](https://wordpress.org/support/users/awelzel/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/php-warning-in-logs-4/#post-15998631)
 * Status: resolved