Closed (fixed)
Project:
Node clone
Version:
5.x-2.6
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2008 at 23:28 UTC
Updated:
4 Apr 2009 at 20:51 UTC
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
Comment #1
ianchan commentedAttempting to update issue title.
Comment #2
pwolanin commentedWell, 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.
Comment #3
pwolanin commented