• Catchable fatal error: Object of class stdClass could not be converted to string in /home/mysite/public_html/press/wp-content/plugins/user-avatar/user-avatar.php on line 483

Viewing 8 replies - 1 through 8 (of 8 total)
  • Same error, disabled the plugin to minimize the damage

    Plugin Contributor sgagan

    (@sgagan)

    Sorry users, I must not have changed that in the copy I threw up on the SVN for some odd reason. Regardless, I’ll update the plugin on Thursday and push changes then for you guys to get the new updates (and to fix the issue).

    Another user (ambro23) said to do the following:
    Change line 486 in user-avatar.php from:
    $avatar_folder_dir = USER_AVATAR_UPLOAD_PATH."{$user}/";
    to
    $avatar_folder_dir = USER_AVATAR_UPLOAD_PATH."{$id}/";

    Try this fix, which 99.9999% the reason for the error because I know I was tampering with that while trying to get the remove button working… Doh!

    Sorry for any inconvenience and I will release an update Thursday,

    Gagan.

    Plugin Contributor sgagan

    (@sgagan)

    Fixed … download v1.2.1!

    Came into work extra early to make sure WordPress.org would have enough time to get the update in ASAP!

    Make a new thread for new issues and mark this as resolved if the damage has been repaired :)!

    Gagan.

    Have downloaded the latest and installed but still having a problem. Can upload an image file which gets placed in the default upload directory. As soon as I attempt to crop the file I get the following error message :-

    Sorry, No file available

    The permissions on The uploads/avatar folder is fully open but remains empty. I can delete the avatars folder and it gets re-created the next time I try to change avatr.

    Any Help much appreciated.

    Thxs

    I also downloaded the latest and I seem to be getting the same error: Sorry, No file available
    It occurs after selecting crop. Looking in the folders I see where it uploaded the actual file into the uploads/yyyy/mm directory. However I do not see any files in the uploads/avatars directory.

    Hope this info helps

    I am using latest version of wordpress and also user avatar. everything is working. only error i see is the avatar doesnt look right in the admin area (wrong placement). In the admin home “right now” box.

    I have the same “Sorry, No file available” problem. Thanks a lot for any information.

    i solved this issue for uploading user avatar.
    Please change the user-avatar.php
    Please see the below updated
    Change this line
    <input type=”hidden” name=”attachment_file” id=”attachment_file” value=”<?php echo esc_url($file); ?>” />
    replace with
    <input type=”hidden” name=”attachment_file” id=”attachment_file” value=”<?php echo $file; ?>” /> Just

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: User Avatar] Upgrade to latest version (1.2) did the damage.’ is closed to new replies.