• Hi there,

    I am currently facing an issue in the js console of my woocommerce page when GTranslate-Plugin is activated. I am using the OceanWp Theme, WordPress and all Plugins are up to date.

    The error messages reads as follows:

    https://www.decalvibes.de/:1 Access to XMLHttpRequest at ‘https://play.google.com/log?format=json&hasfast=true&authuser=0’ from origin ‘https://www.decalvibes.de’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: The ‘Access-Control-Allow-Origin’ header has a value ‘https://play.google.com’ that is not equal to the supplied origin.

    AND

    /_/translate_http/_/…MzYJA/m=el_conf:226 
     POST https://play.google.com/log?format=json&hasfast=true&authuser=0 net::ERR_FAILED
    _.hg.send	@	/_/translate_http/_/…MzYJA/m=el_conf:226
    _.Ch	@	m=el_main:18
    xu	@	m=el_main:574
    r	@	m=el_main:623
    Uv.flush	@	m=el_main:623
    (anonym)	@	m=el_main:618
    _.Wd	@	/_/translate_http/_/…MzYJA/m=el_conf:125
    _.h.dispatchEvent	@	/_/translate_http/_/…MzYJA/m=el_conf:124
    Tu.C	@	m=el_main:581
    setTimeout (async)		
    phast.scripts.window.setTimeout	@	(Index):3993
    Tu.start	@	m=el_main:581
    Uv.log	@	m=el_main:620
    hw.log	@	m=el_main:630
    mw	@	m=el_main:634
    Fw	@	m=el_main:686
    Ow	@	m=el_main:707
    googleTranslateElementInit2	@	VM501:1
    e	@	m=el_main:62
    _.Ri	@	m=el_main:62
    (anonym)	@	m=el_main:708
    (anonym)	@	m=el_main:713

    The issue does not occur when GTranslate Plugin is deactivated.
    Could anybody fix this?

    Many thanks in advance!
    Br, Alex

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author edo888

    (@edo888)

    Hi,

    I see the issue. It seems that Google has changed something on their end and I believe they will fix it soon, we cannot do anything about it. It is related to logging and it does not prevent the website from being translated. Also it does not happen when you are on the original language.

    Meanwhile you can use our paid version and it will be fine, since it does not depend on Google Translate js public library: https://gtranslate.io/#pricing

    Thanks! ??

Viewing 1 replies (of 1 total)
  • The topic ‘Access to XMLHttpRequest has been blocked by CORS policy’ is closed to new replies.