Closed (duplicate)
Project:
Author Pane
Version:
7.x-2.0-alpha2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Feb 2012 at 09:59 UTC
Updated:
20 Feb 2012 at 20:36 UTC
Hi,
I allow my users at wisemusings.com to upload pictures of a certain size. It displays fine in the author pane for those users who upload their pictures. But for users who don't want to upload their pictures, I have a default picture for the which shows up fine in the user's account page and else where but it doesn't show up in author pane. More over, an ugly php error message shows up. I have attached a picture of it. Would be nice if this can be fixed. Thanks.
Raj
| Comment | File | Size | Author |
|---|---|---|---|
| author-pane.jpg | 140.73 KB | GlobalRaj |
Comments
Comment #1
GlobalRaj commentedFor example
This one has no issue since user (myself) has uploaded a profile picture
This one has the above mentioned issue as the user has not uploaded a profile picture
I am going to leave the author pane enabled so you folks can look it up for the error message, if you like.
Comment #2
Scyther commentedHow did you write the URL for the Default picture in account settings?
This bug is known, check this issue #1217780: Notice: Trying to get property of non-object .... I will let this issue to be active, but it will be marked duplicate soon.
Comment #3
rogical commentedI solve this by modify template file, specify the default image when no user uploaded avatars.
Comment #4
GlobalRaj commentedThanks Scyther. You are right about this being duplicate. It was too late at night and didn't check around.
Any ways, I applied the following patch and it worked out.
http://drupal.org/files/notice_trying_to_get_property_of_non_object-1217...
Hope they fix it for the next release though. Thanks.