Random forest model in R - predictors and training data types mismatch
Your training set should be true representation of the entire population which is not true in your case. The levels in your train data set's media column has 4 factor levels which is 1 level less than the test data set's media column factor levels. Assuming you are using R, you can fix it with below code

levels(TrainAquifier.media) &lt;- levels(TestAquifier.media)


You can find answer to similar question in stackoverflow here