It's hard to say, because the code you provide doesn't produce an error (except for the "..." part, of course).
Try limiting the code you have to a small case that still produces an error and post it again (perhaps as a reply to this one), so that we can try again.
Regards,
jac
Comment on Re: Can't use an undefined value as an ARRAY...