After enabling this module, at node ( with big taxonomy vocab. attached) edit page I get drupal warning:
warning: preg_match() expects parameter 2 to be string, array given in bootstrap.inc on line 670
At the same time, at another node ( without taxonomy attached at all ) edit page I get:
warning: Invalid argument supplied for foreach() in batax.module on line 46.
Comments
Comment #1
sdrycroft commentedTry version 1.1
Comment #2
sdrycroft commentedChrist, just noticed this was labelled as "critical" - WTF? Crea, really, both the errors you posted are PHP Warnings, which straight away would make this problem minor.
Comment #3
crea commentedMy mistake with priority.
I tried 1.1, warnings at node edit disappeared, but I get another warning after I submit different node types:
warning: Invalid argument supplied for foreach() in batax.module on line 81.
Strange that this warning is printed only at first node view and disappears at following ones
Comment #4
break9 commentedI have the same issue.... any actual fix?
Comment #5
break9 commentedi rolled back the version and it didn't fix the issues
Comment #6
kars-t commentedI have an error like this in line105.
It seems that a node without linked taxonomy will generate the error. So I added an check "if(!empty($node->taxonomy)){" and the error should go away.
Comment #7
sdrycroft commentedThese are all fixed in the latest 6 version
Comment #8
sdrycroft commented