Seems that Iterator (and maybe other types) need special treatment.
An iterator cannot be used with foreach by reference in ../modules/krumong/lib/Drupal/krumong/TreeRenderer/BreadthFirst.php on line 57
Seems that Iterator (and maybe other types) need special treatment.
An iterator cannot be used with foreach by reference in ../modules/krumong/lib/Drupal/krumong/TreeRenderer/BreadthFirst.php on line 57
Comments
Comment #1
geek-merlin/me bumped into the same...
Comment #2
donquixote commentedHere is a fix that was sitting in my local install.
http://drupalcode.org/project/krumong.git/commitdiff/7.x-1.x-1982994-2
I don't know what the second part is about, the
if (count($this->trailOfKeys) > 5).Comment #3
donquixote commentedHi,
I am working on something locally, this will not only fix this issue but also expose private and protected stuff, and do a lot of other things.
It still needs some fine-tuning before I publish it, so stay tuned.