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
oo_.endo_simul=[oo_.steady_state*ones(1,M_.maximum_lag)];

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

Any tip is really appreciated.

With best regards,
Boja,

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