Fatal error: Call to undefined function: _content_types() in /usr/local/apache/htdocs/tristatebusinesses.com/drupal472/modules/node_import/import_content.inc on line 9

message display after the following:
Administer -> Content -> Import

Reference:
Drupal 4.7.2
Latest cvs version of node_import
Latest cvs version of CCK

Comments

sym’s picture

Priority: Normal » Critical

I think _content_types() was renamed to content_types() in CCK, but after changing all the function names in node_import it still didn't work.

Does anyone know what other changes have been made?

mshaver’s picture

I'm getting the same error! Any ideas on how to fix this?

Barleyman’s picture

same problem here

Barleyman’s picture

I replaced all the occurances of _content_types() with content_types() in the file content.inc and this fixed my error, but I am unable to import my cck defined field. I only see an option of page and story. hmm what to do now.

Robrecht Jacques’s picture

Status: Active » Fixed

Fixed in CVS.

Anonymous’s picture

Status: Fixed » Closed (fixed)