I did this fix on simple-local-avatars.php 1.3.1 in the line 154 and works ok:
<?php if (bbp_is_user_home_edit()) : ?>
<script type="text/javascript">var form = document.getElementById('bbp-user-edit-form');form.encoding = 'multipart/form-data';form.setAttribute('enctype', 'multipart/form-data');</script>
<?php else : ?>
<script type="text/javascript">var form = document.getElementById('your-profile');form.encoding = 'multipart/form-data';form.setAttribute('enctype', 'multipart/form-data');</script>
<?php endif; ?>
Explanation:
We need enctype=”multipart/form-data” inb the bbpress user edit form ‘bbp-user-edit-form’. Then, I ask if the form is bbpress user edit ‘bbp_is_user_home_edit()’, if yes, add the JS to include the enctype.
[Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]