New Script Error

Good morning everyone, I have a new problem with a script, the first appears after a few minutes of using 3dsmax , even if I don’t use phoenixfd, the second, when I save my work and close 3ds max. I had a similar problem a few weeks ago but with different scripts ( Strange script error - Phoenix :: Issues - Chaos Forum ).
Can You help me?
thanks for help
Win 11 - 3dsmax 2024.2 - Vray 6.10.20 build 32289 - Phoenix Fd 5.20.02 Nightly, Build ID: 2023101232295 .

First Error ​

Second Error

Hello,

Does following the steps in the previous post you shared help? If you close the scripts in the MaxScript editor - the message windows shouldn’t pop up.