'R blank/NA ouput of ANOVA when comapring 2 GLMER function

I'm trying to compare 2 GLMER functions (negative binomial distribution) which differ only in an interaction term they have. However, the ANOVA results show blank space for all the parameters other than DF. when I checked the summary of the ANOVA it showed that all the parameters were filled with 'NA'. ANOVA of each function separately gives normal results. I am deeply puzzled about why this is happening/and how to solve this.

mod_survival_base <- glmer(log(1+x)~y+z + (1|A/B/C),
                   family=nbinom2, data = mortality4, 
                   control = glmerControl(optimizer = "bobyqa", optCtrl = list(maxfun=2e5)))
mod_survival_inter <- glmer(log(1+x)~y*z + (1|A/B/C),
                   family=nbinom2, data = mortality4, 
                   control = glmerControl(optimizer = "bobyqa", optCtrl =list(maxfun=2e5)))

anova(mod_survival_inter, mod_survival_base)


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source