I fixed it. Thank you. Now getting this error, I think due to crossed random effect. Does it mean model needs to be simplified?.
Running MCMC with 1 chain…
Chain 1 Rejecting initial value:
Chain 1 Error evaluating the log probability at the initial value.
Chain 1 Exception: lognormal_lpdf: Location parameter[1] is nan, but must be finite! (in ‘/tmp/RtmpMXTE3M/model-418b3b6d64e3.stan’ at line 82)