RE: [coldbox:3266] Re: UDFLibraryFile

In that instance, did the error message read, "The routine
philstestblahfunction has been declared twice in different templates."?

Can you give us the stack trace from the error message?
Does the error go away if you remove your UDF Library?
Does the error go away if you un-register your interceptor?

~Brad

Yes, error message as follows:

Application Execution ExceptionError Type: Application : [N/A]

Error Messages: Routines cannot be declared more than once.
The routine philstestblahfunction has been declared twice in different templates.

Yes, the error goes away if I remove my UDF library

and …

Yes, the error goes away if I un-register my interceptor.

Also … the stack trace is attached.

Thanks very much for your help with this :slight_smile:

Cheers,
Phil

stack trace.txt (9.19 KB)

I suspect it might be something to do with the fact I’m calling this method in my interceptor ??

event.setLayout(“secure/default”);

… I’m wanting to use a different layout if the user is authenticated.