Attempted to access H(2); index out of bounds because numel(

I am trying to estimate my model, but I get the following error:

??? Attempted to access H(2); index out of bounds because numel(H)=1.

Error in ==> univariate_kalman_filter at 170
Fi = z(i,:)*PZ + H(d_index(i));

Error in ==> dsge_likelihood at 677
[LIK, lik] =
Error in ==> initial_estimation_checks at 47
[fval,junk1,junk2,a,b,c,d] =

Error in ==> dynare_estimation_1 at 169
oo_ = initial_estimation_checks(objective_function,xparam1,dataset_,M_,estim_params_,options_,bayestopt_,oo_);

Error in ==> dynare_estimation at 70

Error in ==> nstates_withfrictions_est_f at 18904

Does anyone know what this error relates to?
Thanks in advance.


Please try the snapshot from November 4 (not 5). If the problem persists, post the mod-file.