Closed (outdated)
Project:
Similar By Terms
Version:
7.x-1.0-beta3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Aug 2011 at 10:52 UTC
Updated:
1 Aug 2016 at 09:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
rmiddle commentedI can't duplicate the error. I tweaked things a little. Upgrade to the devel version 27th or later and see if the error is still there.
Thanks
Robert
Comment #2
drupallogic commentedseems I have new error now.
Warning: Invalid argument supplied for foreach() in similarterms_taxonomy_node_get_terms() (line 518 of /home/topnet/public_html/kitaplar.net/sites/all/modules/similarterms/similarterms.module).
here is the example:
http://kitaplar.net/kitap/karanligin-aynasinda-murat-gulsoy
EDIT: interesting. when a node is read 2.time, error goes ???
Comment #3
rmiddle commentedI was able to duplicate the error and fixed it on my site.
Try the latest dev version dated 2011-Aug-28 or later and let me know if this fixes your issue. Once you confirm this fixes your issue I will release beta 4.
Thanks
Robert
Comment #4
drupallogic commentedI'm really confused.
on some nodes, I see similarterms_taxonomy_node_get_terms() error; on some nodes, first argument should be an array; on some nodes I see nothing.
sorry, it's still there. and actually 2 different errors.
Comment #5
rmiddle commented1) Clear your cache and make sure you are actually generating a new request.
2) Can I get a copy of your settings so I can try and duplicate your environment?
Thanks
Robert
Comment #6
drupallogic commentedno cache at all.
I'm attaching my settings file.
Comment #7
rmiddle commentedAfter checking out his site I think I see something that might be causing the error. It only shows up when there are less then 5 items in the list. I will look at the loop and make sure it is ok when there are less then max items.
Thanks
Robert
Comment #8
MGParisi commentedsubscribe
Comment #9
Refineo commentedsubscribe
Comment #10
Refineo commentedThis error occurs in 7.x-1.0-beta3 when there are less then 5 items in the list.
It doesn't appear in 7.x-1.x-dev now. The latest dev version works fine at least for me. Thank you.
Comment #11
MGParisi commentedThe August 31st Dev (The only one available) still gives the error on my site.
Comment #12
efarseer commentedStill got the error on the August 31st Dev version...
Comment #13
migmedia commentedI've created a patch with a simple workaround for this error-message.
Comment #14
funkeyrandy commentedpatch fails, applied manually and still doesnt seem to fix the two errors
Comment #15
nICEsCREAM commentedsubscribing
Comment #16
xen commentedFix in #1277256: Invalid argument supplied for foreach() in similarterms_taxonomy_node_get_terms()
Comment #17
takim commented