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).
CommentFileSizeAuthor
gravatar.patch717 bytesCory Goodwin
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Cory Goodwin’s picture

Status: Active » Needs review
fauskanger’s picture

I 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)]

  • AddToAny Share/Bookmark Button 7.x-3.0; AddToAny
  • CAPTCHA 7.x-1.0-alpha2; CAPTCHA
  • Chaos tool suite 7.x-1.0-alpha2; Chaos tools
  • Colorbox 7.x-1.0-beta2;
  • Comment Notify 7.x-1.0-alpha1;
  • Contact Forms 7.x-1.2
  • External Links 7.x-1.12
  • jQuery plugins 7.x-1.0
  • LoginToboggan 7.x-1.1; LoginToboggan
  • Pathauto 7.x-1.0-beta1
  • reCAPTCHA 7.x-1.0; reCAPTCHA
  • Search 404 7.x-1.0
  • Terms of Use 7.x-1.1
  • Token 7.x-1.0-beta1
  • Transliteration 7.x-3.0-alpha1
  • Views 7.x-3.0-alpha1

{ 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

asrob’s picture

Status: Needs review » Reviewed & tested by the community

I tested it on 7.x-1.0. It works flawlessly.

Dave Reid’s picture

Status: Reviewed & tested by the community » Fixed
Narno’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

SeanBannister’s picture

Status: Closed (fixed) » Active

I just experienced this same issue with 1.1 on the /user/register page.

Narno’s picture

Assigned: Unassigned » Narno
Status: Active » Closed (fixed)

Version 1.1 is not corrected. A new corrected version will be delivered ASAP.

Dan Silver’s picture

Version: 7.x-1.x-dev » 7.x-1.1
Status: Closed (fixed) » Active

Hello,
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!

Narno’s picture

Status: Active » Closed (won't fix)

Read my previous comment.

Wait for the next release or use the dev branch.

Thx.

fenstrat’s picture

The 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.

burgs’s picture

Issue summary: View changes

I 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.