Hello,
The error appears in weglot plugin files https://prnt.sc/221nbbl Contact plugin author to get help with this.
Regards