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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.