Posted by prabhatjn on November 19, 2011 at 9:12am
6 followers
| Project: | Share Buttons (AddToAny) by Lockerz |
| Version: | 7.x-3.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | major |
| Assigned: | micropat |
| Status: | closed (fixed) |
Issue Summary
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.
Comments
#1
This patch worked for me, but it needs to be reviewed and committed...
http://drupal.org/node/1079696#comment-4927908
P.
#2
Also related issue : http://drupal.org/node/1316274
#3
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.
#4
Simplified #3 and included a required node access check.
#5
Patch at #4 by keithm works fine for me
#6
#7
Fixed in dev thanks to keithm's patch: #1346668-4: Fatal error accessing empty property in addtoany_handler_field_addtoany_link.inc
#8
Automatically closed -- issue fixed for 2 weeks with no activity.