Using :

Drupal 6.15, GMap Module 6.x-1.1-rc1, GMap Addons 6.x-1.x-dev (2009-Mar-13) (all current on the status report)

I go and list the content at:

/admin/content/node/overview

Four items show, a geotagged photo, podcast and story and the default "Welcome to your new site" page.

I click on the checkbox for a content type, select "Demote from Home Page" (or any other action) and click on "Update" and I get a white page with this:

Fatal error: Call to undefined function gmap_cck_content_is_empty() in / [root] /sites/all/modules/cck/content.module on line 906

Happens every time I go to update using the button on the Content List page.

Comments

liquidcms’s picture

Project: GMap Addons » Content Construction Kit (CCK)
Component: Code » content.module
Priority: Normal » Critical

i think is a CCK bug as i get this as well:

Fatal error: Call to undefined function mail2og_content_is_empty() in /home/hotclubs/websites/CHEC/chec/sites/all/modules/cck/content.module on line 918

switching project

karens’s picture

Status: Active » Fixed

Modules that provide CCK fields are supposed to implement that function. If they do not it is a bug for those projects that needs to be reported there. Since this issue now includes two unrelated projects, I can't switch it back, but you can report it on the right issue queues.

liquidcms’s picture

hey Karen,

i moved here for a couple reasons:

1. i think i saw a couple similar issues on modules where markus had suggested this might be a cck issue

2. the issue arose when i think i disabled a module which provided a custom field. I guess the module should (assuming i disabled correctly) when disabled go through node type defs and remove its fields?? (didn't think cck field modules did that) - but, assuming the module hasn't done this correctly - didn't seem like CCK should whitescreen because of it.

sorry for moving to your project.

mrgoltra’s picture

subscribing

Status: Fixed » Closed (fixed)

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

anup.tilak’s picture

Hi All,

I got error with the cck module in content.module file. The error is associated with customizing the fields in content module. Error is on this line

foreach ($type['fields'] as $field)

can anybody help me with this. it says that supplied wrong argument.

Thanks and Regards

Anup Tilak.
anup.tilak@gmail.com