@helen2022 thank you. This snippet helped.
I pointed out above. I did not use any special plugins to register CPT. For Fields I’m using ACF.
Problem solved! Thank you very… very much.
I’ve already shown you the link in my first message – https://uzabila.ru/mysql-izmenenie-nazvania-tablici/. I didn’t deactivate your plugin and you can see this error in Console.