Great module - exactl what we are looking for...

While cloning is successful, we are encountering these error messages:

Referrer	drupal_location/node/2845/clone
Message	Invalid argument supplied for foreach() in /drupal_location/themes/engines/phptemplate/phptemplate.engine on line 381.

Referrer	drupal_location/node/2845/clone
Message	array_reverse() [<a href='function.array-reverse'>function.array-reverse</a>]: The argument should be an array in /drupal_location/themes/engines/phptemplate/phptemplate.engine on line 380.

Referrer	drupal_location/node/2845/clone
Message	array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #2 is not an array in /drupal_location/themes/engines/phptemplate/phptemplate.engine on line 67.

The nodes cloned are CCK types with date fields.

Help would greatly appreciated.

Comments

ianchan’s picture

Title: PHP Erroes » PHP Errors

Attempting to update issue title.

pwolanin’s picture

Well, the error is occurring in the theme engine code. Some atrribute is getting set to NULL when perhaps it should instead get set to an empty array.

It could well be a case of bad default values form the date module - I have not seen these errors otherwise when using normal CCK fields.

pwolanin’s picture

Status: Active » Closed (fixed)