PHP warning in Media Library for SVG filetype
-
Noticed these warnings in the field that lists file sizes in the media library. Only happens for SVG files:
Warning: dirname() expects parameter 1 to be string, object given in ../wp-content/plugins/image-regenerate-select-crop/image-regenerate-select-crop.php on line 2115
Warning: Invalid argument supplied for foreach() in /Users/dustin/Local ../wp-content/plugins/image-regenerate-select-crop/inc/helper.php on line 1029
Wordpress Version: 5.9.3
Plugin Version 6.2.2
- The topic ‘PHP warning in Media Library for SVG filetype’ is closed to new replies.