Hi, I had encountered this error when I view user profile, one of the tab is social profiles.

Notice: Trying to get property of non-object in widgets_get_context_author_uid() (line 1300 of /home/www/chan.net/profiles/commerce_kickstart/modules/contri/widgets/widgets.module).

On contact form also show this error.

Thanks for reply

Comments

DickSwart’s picture

Title: Trying to get property of non-object in widgets_get_context_author_uid() » Similar for webforms

I get similar for webforms:

Notice: Trying to get property of non-object in widgets_get_context_author_uid() (line 1297 of /home/jeffreys/public_html/sites/all/modules/contrib/widgets/widgets.module).

davemurphy’s picture

yup, getting the same error:

Notice: Trying to get property of non-object in widgets_get_context_author_uid() (line 1297 of /usr/local/pem/vhosts/xxxxxxxx/webspace/httpdocs/staging/drupal-7.0/sites/all/modules/widgets/widgets.module).

running:
Drupal 7.10
Webform 7.x-3.18
CAPTCHA 7.x-1.0-beta2
reCAPTCA 7.x-1.7

areikiera’s picture

Same problem here. I see the same thing when viewing a webform submission, or the webform node itself.

Notice: Trying to get property of non-object in widgets_get_context_author_uid() (line 1297 of /PATH/TO/SITE/sites/all/modules/widgets/widgets.module)

Drupal 7.14
Widgets 7.x-1.0-beta5
Webform 7.x-3.18
Mollom 7.x-2.1

TomDude48’s picture

Status: Active » Closed (duplicate)

This issue is the same as http://drupal.org/node/1414932. I have applied the patch, please verify it works.

TomDude48’s picture

Issue summary: View changes

update