webpage made with CMS, Wordpress, have some console errors

Viewed 18

I got the following console errors:

m=el_conf:formatted:4737

   Uncaught TypeError: Cannot read properties of undefined (reading 'hasOwnProperty')
at _._setupNS (m=el_conf:formatted:4737:19)
at m=el_conf:formatted:4885:19
at m=el_conf:formatted:4915:6
at m=el_conf:formatted:4917:2

I think mybe this cuses page speeding things, like javascriplt delay load - Just an idea. I cehceked to turn that function off, but not solved.

Do you have ideas for:

  1. what could cause this error?
  2. what can be the solution?
  3. If this info is not enough info, what should I bring to go forward?

Code Lines 4733-4739

_._setupNS = function(a) {
  a = a.split(".");
  for (var b = window, c = 0; c < a.length; ++c)
    b.hasOwnProperty ? b.hasOwnProperty(a[c]) ? b = b[a[c]] : b = b[a[c]] = {} : b = b[a[c]] || (b[a[c]] = {});
  return b
};

The 2nd part line 4876-4917

//# sourceURL=/_/translate_http/_/js/k=translate_http.tr.hu.VsFGVvsWurg.O/d=1/rs=AN8SPfqwh-3dIaUUqNTA-U_ngpgCR6H0aA/m=el_conf
// Configure Constants
(function() {
    let gtConstEvalStartTime = new Date();
    if (_isNS('google.translate.Element')) {
        return
    }

    (function() {
        const c = _setupNS('google.translate._const');

        c._cest = gtConstEvalStartTime;
        gtConstEvalStartTime = undefined;
        // hide this eval start time constant
        c._cl = 'hu';
        c._cuc = 'googleTranslateElementInit2';
        c._cac = '';
        c._cam = '';
        c._ctkk = '462182.1842789117';
        const h = 'translate.googleapis.com';
        const oph = 'translate-pa.googleapis.com';
        const s = 'https' + '://';
        c._pah = h;
        c._pas = s;
        const b = s + 'translate.googleapis.com';
        const staticPath = '/translate_static/';
        c._pci = b + staticPath + 'img/te_ctrl3.gif';
        c._pmi = b + staticPath + 'img/mini_google.png';
        c._pbi = b + staticPath + 'img/te_bk.gif';
        c._pli = b + staticPath + 'img/loading.gif';
        c._ps = b + staticPath + 'css\/translateelement.css';
        c._plla = oph + '\/v1\/supportedLanguages';
        c._puh = 'translate.google.com';
        c._cnal = {};
        _loadCss(c._ps);
        _loadJs('https:\/\/translate.googleapis.com\/_\/translate_http\/_\/js\/k\x3dtranslate_http.tr.hu.VsFGVvsWurg.O\/d\x3d1\/exm\x3del_conf\/ed\x3d1\/rs\x3dAN8SPfqwh-3dIaUUqNTA-U_ngpgCR6H0aA\/m\x3del_main');
        _exportMessages();
        _exportVersion('TE_20220920');
    }
    )();
}
)();

Thank you, Ice

0 Answers
Related