Has anyone else gotten this PHP warning when loading local avatars into a WP template?
Warning: fopen(http://path.to/avatar_1377020614-140x140.jpg): failed to open stream: HTTP wrapper does not support writeable connections in /server/www/wp-includes/class-wp-image-editor.php on line 342
I haven't been able to consistently reproduce this issue. But it has only occurred on WP 3.6 for me. When the PHP warning occurs, it's preceded by a string of crazy characters that I suspect is the image data attempting to be printed out. After a refresh, the page is fine and the avatar image loads as it should.
Here's the function I'm using to load the avatar when this error occurs on the page:
<?php echo get_avatar(get_the_author_meta('ID'), 100); ?>