Hi, everyone. I used this dev version module on my 5.0 site. But it display a error code every time I wanna create a new gallery. See below:
* warning: Illegal offset type in isset or empty in /example/modules/taxonomy/taxonomy.module on line 1150.
* warning: Illegal offset type in /example/modules/taxonomy/taxonomy.module on line 1151.
* warning: Illegal offset type in /example/modules/taxonomy/taxonomy.module on line 1154.
It seems that there are some problems between gallery and taxonomy module. I can create a image node now, but it won't be shown in the gallery.
Comments
Comment #1
tky commentedSorry, now I know that error code is caused by pathauto.module, not image gallery.
But the problem still there after I fixed the error code already.
I.e. when I added a new gallery on setting page, there is no correspond taxonomy term select list display in taxonomy list and add/content pages.
Any approach could fix this problem?
TKY
Comment #2
drewish commentedlike you said it's a path auto problem.
Comment #3
Vallenwood commentedThe solution to this is located here:
http://drupal.org/node/124701
It is indeed a pathauto problem, and still exists as of pathauto version 5.x-1.1. Future pathauto releases will probably fix it and make the patch unnecessary, but in the meantime, it's a very simple fix, just adding three lines of code to
pathauto_node.incat line 214:I can confirm that this did in fact fix the problem for me. Remember: patch probably unecessary in future pathauto releases, so don't apply unless you know you have the latest pathauto version and it's still doing this.