Closed (fixed)
Project:
Content Complete
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Aug 2010 at 15:25 UTC
Updated:
8 Oct 2010 at 14:38 UTC
Yo,
great modules but after clearing the cache, there's an error:
warning: Invalid argument supplied for foreach() in /sites/all/modules/content_complete/content_complete.module on line 522.
Could you fix that?
Yannick
Comments
Comment #1
rhymeswithcamera commentedI am getting the same error as Yannick. Also getting the same error for line 537.
Comment #2
jerryitt commentedHi
I am getting the exact same error as stated above when i try to import a content type.
Anybody have any ideas as to whats going on here?
w a r n i n g : I n v a l i d
a r g u m e n t s u p p l i e d
f o r f o r e a c h ( )
i n / s i t e s / a l l /
m o d u l e s /
c o n t e n t _ c o m p l e t e /
c o n t e n t _ c o m p l e t e . m o d u l e
o n l i n e 5 2 2.
w a r n i n g : I n v a l i d
a r g u m e n t s u p p l i e d
f o r f o r e a c h ( )
i n / s i t e s / a l l /
m o d u l e s /
c o n t e n t _ c o m p l e t e /
c o n t e n t _ c o m p l e t e . m o d u l e
o n l i n e 5 37...
Comment #3
pvhee commentedI've added a check to see if these fields exist, I was expecting them to be there always: $type['extra'] should contain title, body and $type['fields'] should contain the CCK fields attached to the node. The code is committed to CVS, please reopen the issue if that doesn't solve it.
http://drupal.org/cvs?commit=433494
Comment #4
pvhee commented