This is a known issue: /opt/pihole/utils.sh: line 100: local: FTL_PID_FILE: readonly variable · Issue #6612 · pi-hole/pi-hole · GitHub
It has already been fixed on development branch and will be part of the next release.
For your information, this is solely cosmetic and doesn’t affect functionality.