Support

Account

Home Forums Bug Reports A non well formed numeric value encountered / php 7.1 with svg image in repeater Reply To: A non well formed numeric value encountered / php 7.1 with svg image in repeater

  • The lines of your notices are part of new code in WP that constrain an image to an upper limit.

    This is only a guess for what it’s worth. The functions look at the original image size. These values are probably gotten by using getimagesize() https://www.php.net/manual/en/function.getimagesize.php. SVG images do not have size values that can be retrieved using this function and this is likely resulting in empty values of some kind.