From what I understand is that one of these layers is not identical - in dimension and place - to the other. If the error appeared only once then its probably the "aspect" variable, if it appeared several times then its the bias layer.
import your variables into a GIS program and check the dimensions for each. You can use smth like the mask or clip tools in ArcGIS to make them all equal to each other (mask for raster/continuous layers and clip for feature/categorical layers). You can do that in R too if you are familiar with it. I recommend you to specify one variable/layer as a reference to mask all your variables/layers, by that you avoid such errors.
Best
Areej