Hi,

When I updated my views from 7.x-3.0-rc1 to 7.x-3.0-rc3, It gave me WSofD. The message I have got was:
Notice: Undefined variable: teaser in addtoany_handler_field_addtoany_link->render() (line 22 of /var/www/html/multiinstall/learn-drupal/sites/all/modules/addtoany/views/addtoany_handler_field_addtoany_link.inc).

Please take a look.

Thanks,
Perry.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

prabhatjn’s picture

Status: Active » Needs review

This patch worked for me, but it needs to be reviewed and committed...

http://drupal.org/node/1079696#comment-4927908

P.

Jerome F’s picture

Also related issue : http://drupal.org/node/1316274

keithm’s picture

Title: Addtoany falis with the new views update. » Fatal error accessing empty property in addtoany_handler_field_addtoany_link.inc
FileSize
1.35 KB

A fatal error occurs when using addtoany with views-7.x-3.0-rc3: "Fatal error: Cannot access empty property in addtoany/views/addtoany_handler_field_addtoany_link.inc on line 19".

Patch attached.

keithm’s picture

Simplified #3 and included a required node access check.

W.M.’s picture

Patch at #4 by keithm works fine for me

prabhatjn’s picture

Status: Needs review » Reviewed & tested by the community
micropat’s picture

Assigned: Unassigned » micropat
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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