• Hello,

    We recently upgraded some of our servers to php 8.2 and are getting the following error, specifically when working with .svg files


    PHP Fatal error: Uncaught TypeError: abs(): Argument #1 ($num) must be of type int|float, string given in /var/www/sites/edu.uconn.wordpress.production/public_html/wp-content/plugins/image-widget/image-widget.php:183

    Part of the issue is that we’re load balancing across four servers, two of which have been upgraded and are erroring, the other two are still running php 7.4 and are fine. So at the moment sometimes image widgets are hitting the older servers and load without issue, other times they’re hitting the 8.2 servers and are throwing a critical error.

    I saw this post where it was mentioned that 8.1 is not fully supported, but that was a couple years ago. Is this something on your radar at all?

    Thanks,

    The page I need help with: [log in to see the link]

  • You must be logged in to reply to this topic.