Non-existent field 'lb'

I got this error for every mod file I want to run:

Reference to non-existent field ‘lb’.
Error in draw_prior_density (line 118)
f(find(x<bayestopt_.lb(indx)))=0;
Error in plot_priors (line 55)
[x,f,abscissa,dens,binf,bsup] = draw_prior_density(i,bayestopt_);
Error in dynare_estimation_init (line 323)
plot_priors(bayestopt_,M_,estim_params_,options_)
Error in dynare_estimation_1 (line 115)
[dataset_, dataset_info, xparam1, hh, M_, options_, oo_, estim_params_, bayestopt_,
bounds] = …
Error in dynare_estimation (line 105)
dynare_estimation_1(var_list,dname);
Error in OutputGap (line 481)
oo_recursive_=dynare_estimation(var_list_);
Error in dynare (line 235)
evalin(‘base’,fname) ;

What should i do? I want IRFs and Prior-Posterior graphs.

Without the codes, it is impossible to tell.

This is code:
OutputGapV02.mod (3.1 KB)

Sorry, but I cannot replicate your error with the file you provided.

When I use nograph option for estimation command, code works. What’s your thought bout it?

As I said, I get the desired figure output with Dynare 4.5.7. That particular message should also go away if you set options_.plot_priors=0;

Thank you.
I ran my code in another laptop and it worked!