Notice: Undefined index: taxonomy_term в функции ctools_entity_field_value_ctools_access_check() (строка 165 в файле /home/s/spcomputer/public_html/sites/all/modules/ctools/plugins/access/entity_field_value.inc).
Notice: Undefined index: taxonomy_term в функции ctools_entity_field_value_ctools_access_check() (строка 165 в файле /home/s/spcomputer/public_html/sites/all/modules/ctools/plugins/access/entity_field_value.inc).
Notice: Undefined index: taxonomy_term в функции ctools_entity_field_value_ctools_access_check() (строка 165 в файле /home/s/spcomputer/public_html/sites/all/modules/ctools/plugins/access/entity_field_value.inc).
Notice: Undefined index: taxonomy_term в функции ctools_entity_field_value_ctools_access_check() (строка 165 в файле /home/s/spcomputer/public_html/sites/all/modules/ctools/plugins/access/entity_field_value.inc).
| Comment | File | Size | Author |
|---|
Comments
Comment #1
optimistex commentedSorry for my english. I'm use google translate.
This problem occurs because of not matching types in structures with arrays of checks:
taxonomy_term in function ctools_entity_field_value_ctools_access_check () (line 165 in file / home / s / spcomputer / public_html / sites / all / modules / ctools / plugins / access / entity_field_value.inc)
Since this error is not critical, then put down the error message, fixed:
in the file "entity_field_value.inc"
Corrected line 70
Before the fix:
$ access = ctools_access ($ breadcrumb-> access, $ contexts);
After the fix:
$ access = @ ctools_access ($ breadcrumb-> access, $ contexts);
Comment #2
spleshkaThanks for your report, I'll check this issue ASAP.
Comment #3
spleshkaI can't reproduce this bug. Please, provide here an export of your path breadcrumb navigation.
Comment #4
airstarh commentedHi. I do have the same
Comment #5
airstarh commentedAs you request I export my settings here.
I have two groups of news: 1) Energy, 2) Corporate
so
And...
Comment #6
airstarh commentedWhen I put your fixes in the filem named entity_field_value.inc
before and after line 70 I get much more Notices!!!
Comment #7
airstarh commentedAlso
http://drupal.org/node/1812758#comment-6765212
Comment #8
airstarh commentedDear team, your module is excelent one.
Unfortunately, I am to refuse using of it if this problem is not solved at least rough sugestion for the first time would be enough.
I am not glad to say this to so respected creators, but really, could you say, what to do to switch off only this notice without deleteing all $messages block from template ?
I also want to see all the other notices.
Unfortunately this Notice appears even while anonimous user watches the page (((
Thanks in advance.
Comment #9
airstarh commentedI've found message appears for nodes, when rules in PB-module are not first.
For example:
The order of rules are:
1) Corporate news
2) Energy news
3) Province news
Only 2) and 3) nodes recieve Notice
When I change order, the first never recieves, all the other recieve.
Comment #10
spleshkaAs you may notice this is not PB bug, but Chaos Tools. So you should wait until they will fix this.
Comment #11
airstarh commentedCurrently fixed very rough by adding '@' in front of == in line 165
Ctools ISSUE exists with link to here )))
Comment #12
airstarh commentedSo hello again.
I know, you are tired of me, but:
Still using only your module!
You see, looks similar to Ctools )))
So my decision like above
in the file uuid/uuid.tokens.inc
On line 95 I do:
Yes. This is not decision. But your module too fgood to cancel use of it.
Trust me, I scare of Hansel )))
Comment #13
spleshkaTrust me, I'm not tired of you :) I am thankful for your report.
But I still can't reproduce this warning. I imported your breadcrumbs but I have no any message. May be this bug appears because of other modules?
Comment #14
airstarh commentedWell
What I found
I am not sure in my correct terminology but:
When I use two criterias such as Content ID and Has Term from Vocabulary
It works for the Nodes which are discribed in PB modules and when the Rule is the first in PB list of Rules/
Notices appear for all the other Nodes which contain same or other term or same and some other term from vocabulary despite of if Rule exist for this term...
Really I don't know how to explain more clear )))
So maybe it is bound to Russian localization... Or may be I still do something wrong or illogical.
Comment #15
spleshkaOk, I got this idea. I'll test this as soon as a can take some free time.
Comment #16
andypostSuppose it related #1630820: entity_field_value is completely broken
Comment #17
sublimina commentedThis fix (#12) worked for me. The errors disappeared right after I added a "@" to the variable. Thanks!