Fatal error for Taxonomy Filter
SocialNicheGuru - June 25, 2009 - 19:47
| Project: | Taxonomy Filter |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | solotandem |
| Status: | postponed (maintainer needs more info) |
Jump to:
Description
Fatal error: Cannot use string offset as an array in /drupal/sites/all/modules/taxonomy_filter/taxonomy_filter.theme.inc on line 139
this happens when I choose cloud for the "refine criteria" and same for the "current criteria".
Chris

#1
Please provide more information:
- Does this error always show up when viewing taxonomy listings? Or only on certain listings? Can you identify the parameters when the error occurs?
- Provide a sample of the taxonomy structure on a listing that generates the error. (Structure includes the vocabularies, term ids and their relationships, and the nodes that would match.)
If you have a web accessible site that would display this error, that would be very helpful.
#2
#3
I just installed Taxonomy Filter and have exactly the same problem.
When I press on any term in the vocabulary a new window is opened with this error.
I tried to check how to configure it, so I created 1 filter menu of each type: base, context, dynamic (cloud is disabled).
I'm not sure about all types, but for the vocabulary which now Has problems, I use context filter menu. It is configured in the following way:
- Matching nodes: yes, no, no, yes
- Multiple term filtering: yes, yes
- Mapping: refine criteria = context_example (my filter menu), current criteria = Same; The filter menu for = and appears on term listings from = my vocabulary (I removed data from "and appears on term listings from", but it doesn't help).
Is there anything else I can do?
#4
Changing mapping configuration solved the problem:
Refine Criteria = None
Current Criteria = dynamic
But:
Refine Criteria = None
Current Criteria = context
- causes error
#5
savvadia: This sounds like it is data-related. Would you provide some detail on the taxonomy structure? When the error occurs, what is the URL, what are the taxonomy term items for the vocabulary involved, and any other information you find useful?
#6
Hi,
I checknged back to "none-context".
Pressing any link in the taxonomy the causes error:
http://brigada-nn.ru/admin/content/taxonomy/4
For example here:
http://brigada-nn.ru/taxonomy/term/42
А don't find anything special in my taxonomy. But I have category module enabled.
#7
#8
Chris: Thanks for updating the title. However, it would be much more useful to have some details on your taxonomy structure. My suspicion is the error occurs in an edge case and it would be helpful to have some data to confirm this with.
#9
Hi,
Could you please give me some hints about how can I collect information which will be useful for you?
I just think that if I give you a simple structure, then it's won't help. I have a tree of terms: 2 on top level, depth is 3, in total about 30 terms.
Have a nice day,
Diana
#10
same error here,
any solution dudes
Fatal error: Cannot use string offset as an array in /home/hamzahal/public_html/studyx.org/sites/all/modules/taxonomy_filter-6.x-1.0/taxonomy_filter/taxonomy_filter.theme.inc on line 139
#11
#12
Please provide details about your taxonomy setup. Could you extract enough of the rows from the taxonomy tables (term_data, term_node, term_hierarchy) that relate to the URL you have this error on, that would be helpful. I have not seen this error and can not reproduce without some specifics. Thanks for your help.
#13
I got the same error with context (the first menu I created does not show up in the drop down in the mappings tab). The vocabulary (exported) is the following:
"3";"125";"AAC";"";"0""3";"34";"DMID";"";"0"
"3";"267";"ECCMID 09";"";"0"
"3";"279";"ICAAC 09";"";"0"
"3";"37";"ICID 08";"";"0"
"3";"195";"Journal of Chemotherapy (Supp)";"";"0"
"3";"381";"Supplement ()";"";"0"
"3";"18";"Supplement (JAC)";"";"0"
"3";"170";"WPCCID 08";"";"0"
Could it be caused by the parentheses maybe? The rest of the vocabulary is quite plain otherwise (no hierarchy).
Hope this helps...