Errors - bootstrap GLM model - glmmBoot package

Hello,

I'm trying to run a bootstrap resampling on a GLM model, but I keep running into errors and I can't find any solution online.

The first problem in which I ran into is "variable lenght differs" when i try to use a normalized variable (sub.size_z) and a continuous variable trasformed into factor (hours). I checked my dataset and there are no NAs anywhere, so i don't know how to tackle the problem.

The second error is "Error: Naming mismatch from base to list of coefs", which happens when i try to run the bootstrap using a GLM without having trasformed the variables that i previously mentioned.

Can anyone point me towards a solution? Thanks a lot!