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,
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.
Comment | File | Size | Author |
---|---|---|---|
#4 | 1346668-update-addtoany-for-views-7x-rc3-4.patch | 1.43 KB | keithm |
#3 | 1346668-update-addtoany-for-views-7x-rc3-3.patch | 1.35 KB | keithm |
Comments
Comment #1
prabhatjn CreditAttribution: prabhatjn commentedThis patch worked for me, but it needs to be reviewed and committed...
http://drupal.org/node/1079696#comment-4927908
P.
Comment #2
Jerome F CreditAttribution: Jerome F commentedAlso related issue : http://drupal.org/node/1316274
Comment #3
keithm CreditAttribution: keithm commentedA 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.
Comment #4
keithm CreditAttribution: keithm commentedSimplified #3 and included a required node access check.
Comment #5
W.M. CreditAttribution: W.M. commentedPatch at #4 by keithm works fine for me
Comment #6
prabhatjn CreditAttribution: prabhatjn commentedComment #7
micropat CreditAttribution: micropat commentedFixed in dev thanks to keithm's patch: #1346668-4: Fatal error accessing empty property in addtoany_handler_field_addtoany_link.inc