The php version is changing by mistake

Hello. When changing the php version, the previous one is put.
Ie, if I change from php v 7.x to php 8.1.x, then the sites work on the php v 7.x version

If I change the work of php 8.1.x to v php 8.2.x (8.2.x is specified in the settings), then the sites work on php 8.1.x

Everything is fine for a certain time, then the version becomes 8.2 and the sites do not work. if you change the panel from 8.2.x to 7.4, the sites work on 8.1

Tell us what logs you can throw off because I think this is some kind of bug…

I tried to reboot apache and completely the entire vds . It doesn’t help