media.php on line 648 error
-
My new dev server runs PHP 7.3.6 and upon firing up my site to work on, I got this warning all over the place:
Warning: A non-numeric value encountered in [path]\wp-includes\media.php on line 648
The cheap and dirty workaround is just commenting out line 648 in the file and the site works fine.
//$matched = ( abs( $constrained_size[0] – $expected_size[0] ) <= 1 && abs( $constrained_size[1] – $expected_size[1] ) <= 1 );
Can’t say I like that and any update will probably plaster over it. While just a dev server, eventually I’ll get production up to match and so has anyone found a proper solution for this?
Cheers,
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘media.php on line 648 error’ is closed to new replies.