I am using 'Drupal 7.0 (2011-Jan-05)' in combination with about 60 additional/optional and up-to-date modules. After downloading and activating 'similarterms 7.x-1.0-alpha2 (2010-Aug-04)' I get the following PHP error messages on the front page and all other pages:
* Notice: Undefined index: render element in theme() (Zeile 811 von /var/www/site.net/includes/theme.inc).
* Notice: Undefined variable: items in include() (Zeile 15 von /var/www/site.net/sites/all/modules/similarterms/similarterms.tpl.php).
And when accessing a specific node there appears only a blank nothingness.
Using the current dev version 'similarterms 7.x-1.x-dev' is not a solution for me either, since this one seems to create a row of 'stdClass' problems (PHP error messages).
By the way, in your module description you are mentioning the creation of a vocabulary called 'tags'. Do you really mean that one has to create a vocabulary with exactly this name (it cannot be named differently?)?
Comment | File | Size | Author |
---|---|---|---|
#13 | missing_isset_causing_notice_1016342.patch | 627 bytes | Letharion |
Comments
Comment #1
Blooniverse CreditAttribution: Blooniverse commented'similarterms 7.x-1.x-dev (2010-Aug-04)' — to be precise!
Comment #2
KirstenLangholz CreditAttribution: KirstenLangholz commentedI ran into the same problems. Any help in sight?
Comment #3
EliteMonk CreditAttribution: EliteMonk commentedI install both version alpha2 and dev
and after indtall i see error
Notice: Undefined property: stdClass::$multiple in function similarterms_block_info() (строка 65 в файле /home/notafa/public_html/sites/all/modules/similarterms/similarterms.module).
Notice: Undefined property: stdClass::$tags in function similarterms_block_info() (строка 65 в файле /home/notafa/public_html/sites/all/modules/similarterms/similarterms.module).
Notice: Undefined property: stdClass::$multiple in function similarterms_block_info() (строка 65 в файле /home/notafa/public_html/sites/all/modules/similarterms/similarterms.module).
Notice: Undefined property: stdClass::$tags in function similarterms_block_info() (строка 65 в файле /home/notafa/public_html/sites/all/modules/similarterms/similarterms.module).
Comment #4
Blooniverse CreditAttribution: Blooniverse commented... no [good] news here?
Comment #5
dropbydrop CreditAttribution: dropbydrop commentedI have the same.
Any new version around?
there was a pledge about
Comment #6
Sean-Khan CreditAttribution: Sean-Khan commentedSame problem here...
Comment #7
anruethersubscribe
Comment #8
Blooniverse CreditAttribution: Blooniverse commentedOh, what a pitty: 'Similar By Terms 7.x-1.x-dev (2011-Feb-25)' does not solve any of the described errors above.
There is still (on views, /node* & /user*):
And (on e.g. '/admin/modules' or '/admin/structure/block'):
Comment #9
Blooniverse CreditAttribution: Blooniverse commentedA brief and superficial look into 'similarterms.tpl.php' reveals quite clearly the culprit: it is the
$items
array. But there is no quick fix for that, cause even a modification of line#14 intoif (is_array($items) ) {
doesn't solve the problem. Since I am not a maintainer of this module and I am lacking in time, I need to give up here -- sorry! Below the mentioned code:Comment #10
Blooniverse CreditAttribution: Blooniverse commented... this function is from 'similarterms.module'. It is the one which creates the
$items
array. Maybe someone can find the flaw by briefly having a look at the code?:Comment #11
pazap47 CreditAttribution: pazap47 commentedJust installed same problem as mentioned here, but it's not the only module with problems, sorry just personal opinion.
Comment #12
Blooniverse CreditAttribution: Blooniverse commented... indicate the error for the most current module version -- please don't change this setting [back in time]!
Comment #13
Letharion CreditAttribution: Letharion commentedLine 64 does if($v->multiple || $v->tags).
This has the intended effect, that is, running only if at least one exists, but causes notices.
Attaching patch with isset() added.
Comment #14
Letharion CreditAttribution: Letharion commentedComment #15
rmiddle CreditAttribution: rmiddle commented#13 commit into tree. Will be in alpha 3 release that is hopefully working.
Thanks
Robert
Comment #16
rmiddle CreditAttribution: rmiddle commented#13 removed from module completely. Taxo changed in 7 making support for the option to heavy to be worth supporting it any-more.
Next Commit will clear up the error.
Thanks
Robert
Comment #17
rmiddle CreditAttribution: rmiddle commentedAlpha4 is released that fixes the issues listed above please upgrade to alpha4 and report any new issues with alpha 4.
Thanks
Robert
Comment #18
rmiddle CreditAttribution: rmiddle commented