I am getting this error message when I try to edit any comment added using nodecomment. Just clicking the "edit" link below the comment generates the error. It also happens when you try to call a link from the view pointing to any node comment title.
warning: implode() [function.implode]: Invalid arguments passed in /home1/mysite/public_html/mysitename/sites/all/modules/views-6.x-2.11/views/plugins/views_plugin_argument_default_php.inc(48) : eval()'d code on line 4.
Any help please?
Comments
Comment #1
ibexy commenteddid anybody else experience this problem?
Comment #2
ibexy commentedI think this problem is coming from the view that ships with nodecomment. There appears to be an invalid argument somewhre. I dont know enough php to pin point it though. I did a search on this website to try and understand the error message. Am still waiting for a good samaritan to save the day for me.
Comment #3
morleti commentedexactly same problem appeared! please, help!
Comment #4
ibexy commentedstill experiencing this issue. any solutions yet?
Comment #5
morleti commentedhere i found several solutions http://drupal.org/node/512304. will try to find my problem now.
Comment #6
morleti commentedit was a problem with the incorrect implemented "php-code"-argument in one of my views. i found correct php-code for argument on this forum and changed. now it works beautiful and no mistake appears. thank you for cooperation! : )
Comment #7
ibexy commentedThanks for the above tips.
I found the custom Related Block I built had this argument codes which was causing the problem. I found the codes on this forum. After I removed it the problem stopped. What is the problem here please. The problem apparently is from the line 4:
Comment #8
morleti commentedI'd experienced the problem with the same code, actually. I've changed the "if statement" in the php field to $node->taxonomy.
$node = node_load(arg(1));
if($node->taxonomy){
foreach($node->taxonomy as $term){$terms[] = $term->tid;}
return implode('+', $terms);
}else{return;}
i've taken the correct code from the douglas79's and mmachina's comments from here http://drupal.org/node/65375
Comment #9
ibexy commentedthanks. its worked. the errors are gone!
Comment #10
morleti commentedComment #12
sachinsharma18 commentedOhhh thank u so much friend, your solution really worked for my blog http://www.wondersinworld.com , i was getting same issue and it was so irritating, thanks again.