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.
When I enable the advanced forum modul, I receive this Message a dozen times.
Notice: Undefined property: view::$row_index in views_handler_field->get_render_tokens() (line 1198 of /var/kunden/webs/bcweb/spiderkingz/d7/sites/all/modules/views/handlers/views_handler_field.inc).
I'm using the actual 7.x-2.0-alpha1 of advanced_forum and the 7.x-3.x-dev views version.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1124116-notice.patch | 824 bytes | dawehner |
Comments
Comment #1
dawehnerErrors/warnings are actual problems. Notices should be fixed, but it's often it's just a bit like a codestyle issue.
See http://api.drupal.org/api/drupal/includes--bootstrap.inc/function/watchdog and http://www.ietf.org/rfc/rfc3164.txt
So update priority.
In d6 displaying notices would kill you!
This code now works more like the default table preprocess function.
You could use this in 6.x-1.x as well, because this is a function which is in views since a certain version.
Comment #2
Hydra CreditAttribution: Hydra commentedpatch from #1 dereine works for me! Thx
Comment #3
fubhy CreditAttribution: fubhy commentedChanging status
Comment #4
Hydra CreditAttribution: Hydra commentedComment #5
Hydra CreditAttribution: Hydra commented-
Comment #6
Hydra CreditAttribution: Hydra commentedComment #7
troky CreditAttribution: troky commentedOk, ok. Committed to 7.x-dev.
Thanks for the patch dereine.
Comment #8
dawehner@troky
Hydra is still learning drupal.org :(
Comment #9
fubhy CreditAttribution: fubhy commentedHydra = dereine's padavan :P
Comment #10
jamescarvin CreditAttribution: jamescarvin commentedYou guys amaze me and we stand (or sit) indebted. I posted elsewhere on this as follows:
Troky then directed me to this thread. Thanks! However, I'm a total newb and don't know what to do to fix the error.
I'm in D7 and have installed Advanced Forum 7.2x alpha1, CMA, ctools 7.x-1.x-dev, ACL-7.x-1.0-beta2
Maybe I should have avoided a dev version of ctools? Your help is always appreciated!
Comment #11
dawehnerYou should better use the dev version of advanced forum, because it's fixed there.
Comment #12
dawehnerRemove the most useless issue tag ever seen.
Comment #13
mcdruidThanks dereine.
I tested the patch with views 6.x-2.12 and the render_fields method works fine.
Committed to the Advanced Forum 6.x-2.x branch (I had trouble attributing you as the patch author in git, sorry).
Comment #14
NPC CreditAttribution: NPC commentedThanks, the patch in #1 helped me on 7.x-2.0-alpha1.
Comment #15
mcdruidoops - realised I should have been setting issues to "fixed" rather than "closed (fixed)"
Comment #16
troky CreditAttribution: troky commentedWell, it is fixed and ported and there is no reason not to close it :)