Bench migrate-to-v5 error

Hi, we had the same problem, here is the original post but still is unsolved maybe an admin can merge both posts: