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.
On the nodereferrer page, I get just one oval with the node name and not the referring node name, with this error:
warning: Invalid argument supplied for foreach() in /var/www/html/test/sites/all/modules/graphviz_noderef/graphviz_noderef.module on line 328.
the CCK export is attached, the error appears on Conference Proceedings type.
Comments
Comment #1
naught101 CreditAttribution: naught101 commentedhrm, I just updated the module, and the line numbers have changed. Reckon you could either copy that line here, and/or re-checkout the module? there's a lot of foreaches around there.
Comment #2
naught101 CreditAttribution: naught101 commentedahh, you need this patch: http://drupal.org/node/726450#comment-2668832 . if it works, please set that issue to "reviewed and tested by the community"
Comment #3
deltab CreditAttribution: deltab commentedNo joy. I patched on nodereferrer DEV, and I checked out the new Graphviz Noderef. It is still line 328.
Comment #4
deltab CreditAttribution: deltab commentedNodereferrer version 6.x-1.0-rc1 (2010-Feb-12) works, without the patch.
Comment #5
naught101 CreditAttribution: naught101 commentedThat's strange, it shouldn't. I'm gonna leave this open for a while, see what's going on...
Comment #6
deltab CreditAttribution: deltab commentedOkay, the error is back, after I added more fields, so upgraded to -dev nodereferrer (the patch didn't apply on rc1), patched it.
Now I see the error three times if there are three nodereferences on the node, once if there is only one nodereference.
So I cleared the cache (admin/settings/performance) and no more error!
Comment #7
naught101 CreditAttribution: naught101 commentedSchweet. I'll leave this open until #726450: Find nodereference field name from nodereferrer field is sorted, in case others hit this problem.
Comment #8
deltab CreditAttribution: deltab commentedOkay, but only the admin can see the graph - how do I make it visible for the other users? Nothing suggests itself in the permissions UI.
Comment #9
naught101 CreditAttribution: naught101 commenteddeltab: user permissions? admin/user/permissions Sorry, I just fixed that :)
Might not be in the latest dev release yet, try the latest CVS.
Comment #10
naught101 CreditAttribution: naught101 commentedOk, andypost has commited the patch to nodereferrer. fixed.