Active
Project:
Content Construction Kit (CCK)
Version:
6.x-3.x-dev
Component:
content.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Mar 2010 at 21:32 UTC
Updated:
2 Sep 2010 at 21:57 UTC
I get this error when submitting a comment to any type of content, with or without any CCK field.
Impossible to submit the comment.
Any idea?
Comments
Comment #1
jvieille commentedSeems to have been solved itself.
Will reactivate if it reappears
Comment #3
Fidelix commentedI have the same issue here.
Here is the backtrace:
Type: php
Invalid argument supplied for foreach() in /home/anbient/public_html/dp6/sites/all/modules/cck/content.module on line 1348.
Backtrace:
_content_field_invoke_default(a:2:{i:0;s:15:"preprocess_node";i:1;O:8:"stdClass":6:{s:6:"scalar";b:0;s:10:"build_mode";i:0;s:4:"body";N;s:8:"readmore";b:0;s:7:"content";a:4:{s:4:"body";a:5:{s:7:"#weight";i:0;s:6:"#value";s:0:"";s:6:"#title";N;s:12:"#description";N;s:8:"#printed";b:1;}s:6:"#title";N;s:12:"#description";N;s:8:"#printed";b:1;}s:5:"links";a:0:{}}})[content.module:2489];
.content_preprocess_node(string)[?:?];
..call_user_func_array(string)[theme.inc:697];
...theme(a:4:{i:0;s:4:"node";i:1;O:8:"stdClass":6:{s:6:"scalar";b:0;s:10:"build_mode";i:0;s:4:"body";N;s:8:"readmore";b:0;s:7:"content";a:4:{s:4:"body";a:5:{s:7:"#weight";i:0;s:6:"#value";s:0:"";s:6:"#title";N;s:12:"#description";N;s:8:"#printed";b:1;}s:6:"#title";N;s:12:"#description";N;s:8:"#printed";b:1;}s:5:"links";a:0:{}}i:2;b:0;i:3;b:0;})[node.module:1028];
....node_view(a:1:{i:0;b:0;})[nodecomment.module:306];
.....nodecomment_form_alter(string)[?:?];
......call_user_func_array(string)[common.inc:2839];
.......drupal_alter(string)[form.inc:546];
........drupal_prepare_form(string)[form.inc:105];
.........drupal_get_form(a:2:{i:0;s:15:"forum_node_form";i:1;a:4:{s:3:"uid";s:1:"1";s:4:"name";s:7:"Fidelix";s:4:"type";s:5:"forum";s:8:"language";s:0:"";}})[node.pages.inc:58];
..........node_add(a:2:{i:0;s:5:"forum";i:1;s:1:"1";})[?:?];
...........call_user_func_array(a:2:{i:0;s:8:"node_add";i:1;a:2:{i:0;s:5:"forum";i:1;s:1:"1";}})[menu.inc:348];
............menu_execute_active_handler(a:0:{})[index.php:18];
.............index.php
Comment #4
xaa commentedHello,
I have still this warning (content.module line 1348) with the latest dev version.
Any suggestion, please how to fix, please ?
Comment #5
bearstar commentedI see the same thing and I tried the fix suggested at http://drupal.org/node/716878 and it worked.