How to fix Rigify generate error

I get this message: can’t add new bone ‘root’ outside of edit mode, incorrect armature for type ‘ utils’. I read another thread and saw that all I had to do was rename the rigs but now when i generated, this happened

The two rigs merged
Please help