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.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
🚨 The 2023 ACF Annual Survey closes tomorrow! This is your last chance to complete the survey and help guide the evolution of ACF. https://t.co/0cgr9ZFOJ5— Advanced Custom Fields (@wp_acf) May 18, 2023
© 2023 Advanced Custom Fields.