This is not a problem with pi-hole image.
Explanation:
When you started the old image (2022.07.1), a few Environment Variables were created, including PIHOLE_DOCKER_TAG=2022.07.1
.
The problem happens when Portainer starts a new container using a new image, but "reuse" the same ENV VARs created before.
The new image (now 2022.09.2) will run, but Portainer will overwrite the variable with the old value.
The image functionality won't be affected, but the text will be the old one, causing a confusion.
Portainer even have a warning on the top of the page:
Suggestion:
If you are using Portainer, ALWAYS remove all environment variables and re-add only the needed ones before start a new container using a previous config.