pymc.exceptions.SamplingError: Initial evaluation of model at starting point failed!

Sorry, maybe I also ask another question, which is also a problem.
I used 2023 data as training, 2024 for test. but in 2023, there’s like 10 regions don’t have tick counts. in 2024, there are different regions but more than 10 regions without tick counts. In the code I posted here, I just simply remove the regions that don’t have tick counts to build adjacency matrix, otherwise the dimension is mismatch. Is this correct? But in test as phi dimension is different from 2023, which also dim mismatch again. How to solve it?