• Resolved scordova3

    (@scordova3)


    Hello, I install the plug-in for divi builder. But when I activate and upload images this message appear Warning: A non-numeric value encountered in /home3/…/public_html/wp-includes/media.php on line 648

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Bolton Studios LLC

    (@boltonstudios)

    @scordova3 Hello, Thank you for writing. I do not see this error in my tests: https://www.boltonstudios.com/before-after-images-for-divi-demo/

    Does the error disappear when you deactivate Before + After Images? Can you try uploading your images to the Media Library first, then opening a Before/After module and adding your images to it from the Media Library, and does that solve the problem?

    Thread Starter scordova3

    (@scordova3)

    Hello Aaron, yes the error disappear when I eliminate the modulo in divi builder. I try the solve that you told me, but I have the same error.

    Scordova

    I ran into this same issue. I was able to resolve it by changing the PHP code to this:

    $matched = ( @abs( $constrained_size[0] – $expected_size[0] ) <= 1 && @abs( $constrained_size[1] – $expected_size[1] ) <= 1 );

    Add @ in front of the abs value.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Warning: A non-numeric value encountered in – message’ is closed to new replies.