Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
DickSwart CreditAttribution: DickSwart commentedI 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).
Comment #2
davemurphy CreditAttribution: davemurphy commentedyup, 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
Comment #3
areikiera CreditAttribution: areikiera commentedSame problem here. I see the same thing when viewing a webform submission, or the webform node itself.
Drupal 7.14
Widgets 7.x-1.0-beta5
Webform 7.x-3.18
Mollom 7.x-2.1
Comment #4
TomDude48 CreditAttribution: TomDude48 commentedThis issue is the same as http://drupal.org/node/1414932. I have applied the patch, please verify it works.
Comment #4.0
TomDude48 CreditAttribution: TomDude48 commentedupdate