I attempted to export a content type and got the following error:

warning: Invalid argument supplied for foreach() in /home/myaccount/mydomain.com/sites/all/modules/cck/content_copy.module on line 191.

Comments

karens’s picture

Status: Active » Fixed

I'm unable to replicate this in the latest code. I tried a content type with no groups and a content type with an empty group and never got this error, so I'm assuming it's since fixed.

If you still get this with the very latest code you'll need to provide more information about how you had things set up.

kriskd’s picture

Karen,

Thanks for your response. I think I have greater problems with my D6 install. Recall I have all those issues with the date field and unrelated to CCK, I'm having troubles with Views that I shouldn't be having. It's just a test site, so I'm thinking I need to trash it and start over and see if it fixes everything!!

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

Ionut’s picture

Version: 6.x-1.x-dev » 6.x-2.0-rc4
Status: Closed (fixed) » Active

I too got that error on a fresh D6.3 install with cck-6.x-2.0-rc4. I got it when I tried to "Export" Story (story) and Page (page)
I'm running php 5.1.6 and mysql 5.0.45.

karens’s picture

Status: Active » Fixed

This is fixed in the latest code. CCK rc4 is several versions out of date. The first step when you see a problem is to update to the current code, reporting bugs on old versions doesn't accomplish anything. Yched has done more work on Content Copy even since the last rc (rc6), so the most current code is the -dev version.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.