Graphene System Unstable When Doing minimization

I build a graphene system and do the minimization and npt simulation in LAMMPS, but it turns out to be error.
The error is:
WARNING: Inconsistent image flags (…/domain.cpp:813)
ERROR: Non-numeric pressure - simulation unstable (…/fix_nh.cpp:1063)

The article reported this error may be the atom overlapping or force field potential setting, and I tried to use “delete_atoms overlap 0.1 all all” to distinguish the overlapping atom and other force field. But it doesn’t work.

How do I fix the problem?
image