Closed (won't fix)
Project:
Gravatar integration
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
22 Jan 2011 at 18:16 UTC
Updated:
26 Mar 2014 at 03:25 UTC
Jump to comment: Most recent
When using the module I receive the following error on the user/register page. It doesn't appear to occur on any other page.
Notice: Undefined property: stdClass::$mail in _gravatar_get_account_user_picture() (line 182 of /home/cory/www/drupal-7/sites/all/modules/gravatar/gravatar.module).
| Comment | File | Size | Author |
|---|---|---|---|
| gravatar.patch | 717 bytes | Cory Goodwin |
Comments
Comment #1
Cory Goodwin commentedComment #2
fauskanger commentedI get the same message. I also have the following modules enabled in addition to core and Gravatar integration 7.x-1.0:
[module-project]; [enabled module(s)]
{ Not sure it's of any help: I'm not very familiar with "advanced" level module development, but just in case there it is :) }
Please keep it up and thanks for the great work!
~Thomas
Comment #3
asrobI tested it on 7.x-1.0. It works flawlessly.
Comment #4
dave reidThis is fixed now. Rolling a new release.
http://drupal.org/cvs?commit=501678
http://drupal.org/cvs?commit=501680
Comment #5
Narno commentedDifferent URL but same code:
http://drupalcode.org/project/gravatar.git/commit/931ccce
http://drupalcode.org/project/gravatar.git/commit/4e4a20c
Now, we are on Git, yeah! \o/
Comment #7
SeanBannister commentedI just experienced this same issue with 1.1 on the /user/register page.
Comment #8
Narno commentedVersion 1.1 is not corrected. A new corrected version will be delivered ASAP.
Comment #9
Dan Silver commentedHello,
I just got the same error message on the user/register page. I've installed version 7.x-1.1 and I'm using Drupal 7.12.
Notice: Undefined property: stdClass::$mail in _gravatar_get_account_user_picture() (line 182 of /home3/silverho/public_html/dansilver/learn/sites/all/modules/gravatar/gravatar.module).Was this error ever fixed in that version?
Thanks!
Comment #10
Narno commentedRead my previous comment.
Wait for the next release or use the dev branch.
Thx.
Comment #11
fenstratThe patch to fix the error mentioned in #9 is at #1387004: Undefined variable: mail in _gravatar_get_account_user_picture() (line 183 of - it's part of dev and will be in version 1.2 when it is released.
Comment #12
burgs commentedI know I can just use the dev version, but is there any chance that a new stable release can happen, since this was fixed over 3 years ago? It's not really essential, but the 1.1 version is the recommended release and it's broken.