froger-me / wp-remote-users-sync

Synchronise users across WordPress websites
GNU General Public License v3.0
72 stars 33 forks source link

Error contacting the remote site: Payload error - Syntax error #77

Closed wmasat closed 9 months ago

wmasat commented 9 months ago

Does anyone know what the solution is? I have plugin (WP Remote Users Sync) I'm tired of trying. I have 3 sites and 2 work fine and the last site always gives this error (Error contacting the remote site: Payload error - Syntax error) in Activity Logs { Array ( [0] => Array ( [headers] => Array ( [x-powered-by] => PHP/7.4.33 [x-dns-prefetch-control] => on [content-type] => application/json; charset=UTF-8 [x-litespeed-cache-control] => no-cache [content-length] => 352 [content-encoding] => gzip [vary] => Accept-Encoding [date] => Fri, 22 Dec 2023 18:14:14 GMT [server] => LiteSpeed [platform] => hostinger [content-security-policy] => upgrade-insecure-requests [alt-svc] => h3=":443"; ma=2592000, h3-29=":443"; ma=2592000, h3-Q050=":443"; ma=2592000, h3-Q046=":443"; ma=2592000, h3-Q043=":443"; ma=2592000, quic=":443"; ma=2592000; v="43,46" )

        [response_code] => 200
        [response_message] => OK
        [body] => <script>

function myFunction() { var x = document.getElementById("myDIV"); if (x.innerHTML === "") { x.innerHTML ='جاري التسجيل انتظر قليلاً'; } else { x.innerHTML = "مرحباً"; } }

{"success":false,"data":"The remote website encountered the following error: Unauthorized access (invalid token) - https:\/\/blog.wmasat.com"} )

) }