Error message

Dear all,

I am facing a problem in solving Open Economy New Keynesian DSGE.
While I tried to solve the model, dynare gave me back the following message.

??? Reference to non-existent field ‘maximum_lag’.
Error in ==> WOT_K at 317

Error in ==> dynare at 132
evalin(‘base’,fname) ;

Any tip is really appreciated.

With best regards,

Please post the mod-file. The error is hard to judge without it.