Duplicated Page shows something in error

Hi,

Same issue with some duplicate script I’ve been using for years:

Here is the script:

Could it be related to this?