Hola,

Export content type definitions from cck v... export function containing vertical-tabs' configuration array doesn't work.

This is the php error that raises:

1.- call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'tej_cruiser_company_node_form' was given en /usr/home/viajestejedor.com/web/includes/form.inc en la línea 366.

2.- Opción inválida group_cruiser_company en el elemento vertical_tabs_fieldsets.

After deleting the config array from the cck content type export file, the import process works fine.

This is the code that needs to be removed :

'vertical_tabs_fieldsets' =>
array (
'group_cruiser_company' => true,
'group_cruiser_links' => true,
'menu' => true,
'group_cruiser_links1' => true,
'group_cruiser_links2' => true,
'revision_information' => true,
'nodewords' => true,
'author' => true,
'options' => true,
'path' => true,
),

Even if the error raises again, the new content type ¡s created.

warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'tej_cruiser_company_node_form' was given in /usr/home/viajestejedor.com/web/includes/form.inc on line 366.

I hope this information is useful.

I find the vertical-tabs module very useful. Thanks!

Kind regards,

Daniel Canet

Comments

dcanetma’s picture

Sorry. CCK version is 6.x-2.2; content & content copy modules.

dave reid’s picture

Status: Active » Closed (duplicate)