wp-includes/class-wp-image-editor-gd.php and media.phpWarnings
-
I’ve tried adding a 450×450 png or 600×600 jpeg to ‘Media’ and I get the following where […] replaces the higher server dirs like admin username named dir:
Warning: imagecreatetruecolor(): Invalid image dimensions in […]/public_html/wp-includes/media.php on line 2108
Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in […]/public_html/wp-includes/class-wp-image-editor-gd.php on line 182
Warning: imagecreatetruecolor(): Invalid image dimensions in […]/public_html/wp-includes/media.php on line 2108
Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in […]/public_html/wp-includes/class-wp-image-editor-gd.php on line 182
Warning: imagecreatetruecolor(): Invalid image dimensions in […]/public_html/wp-includes/media.php on line 2108
Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in […]/public_html/wp-includes/class-wp-image-editor-gd.php on line 182
If I deactivate the plug-in, the warnings go away. Furthermore, when activated the Media GUI will show ‘Crunching…’ on the add Media section of the dashboard and ‘Crunching…’ looks frozen (waited 15 minutes so far w/o it changing), but if I open another tab and look at my media library, the image has been added. For what it’s worth I’m using tagDiv’s Newpspaer 4.6.3, but I don’t think it’s related given the dirs of the warning. Based on previous support threads for this plug-in it seems it might be related to WP 3.9+
- The topic ‘wp-includes/class-wp-image-editor-gd.php and media.phpWarnings’ is closed to new replies.