• Resolved gregcarroll

    (@gregcarroll)


    Hi

    I have 5 sites linked together using wp remote users sync but one of them is not transferring roles.

    all information has been copy pasted so i cant see why one doesn’t work – would love some help here. activity log from remote site below

    thanks
    Greg

    2021-01-11 09:49:40 – Alert – Error contacting the remote site: Payload error – Syntax error
    2021-01-11 09:49:40 – Info – Response data received from the remote site:
    Array
    (
    [0] => Array
    (
    [headers] => Array
    (
    [x-powered-by] => PHP/7.2.34
    [set-cookie] => PHPSESSID=eea766ea9f8a6bfa135c08059bac55c7; path=/; secure
    [expires] => Thu, 19 Nov 1981 08:52:00 GMT
    [cache-control] => no-store, no-cache, must-revalidate
    [pragma] => no-cache
    [x-litespeed-cache-control] => no-cache
    [content-type] => text/html; charset=UTF-8
    [content-length] => 0
    [date] => Mon, 11 Jan 2021 09:49:40 GMT
    [strict-transport-security] => max-age=300
    [content-security-policy] => upgrade-insecure-requests
    [alt-svc] => quic=”:443″; ma=2592000; v=”43,46″, h3-Q043=”:443″; ma=2592000, h3-Q046=”:443″; ma=2592000, h3-Q050=”:443″; ma=2592000, h3-25=”:443″; ma=2592000, h3-27=”:443″; ma=2592000
    )

    [response_code] => 200
    [response_message] => OK
    [body] =>
    )

    )

    Refresh

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Alexandre Froger

    (@frogerme)

    Hi @gregcarroll ,

    The headers are telling me your site is trying to display something when visiting the WPRUS endpoint, when it should respond with WPRUS data.

    In the body of the problematic response, I see it contains a line return – not sure if that’s a quirk of the copy/paste of the log or the actual content, but in any case, what’s expected is JSON and not an empty string, which would give a clue as to where the issue may come from.

    Are the websites hosted on servers with the exact same configuration?

    Lastly, does the issue occur with a fresh install of WordPress, a default theme, and officially supported plugins?

    Thread Starter gregcarroll

    (@gregcarroll)

    Hi Alex

    I still get the payload / syntax error

    both sites have been moved to the same server and have exactly the same configuration.

    All other sites work perfectly. This is the last piece in the jigsaw

    Greg

    Plugin Author Alexandre Froger

    (@frogerme)

    Hi @gregcarroll ,

    Lastly, does the issue occur with a fresh install of WordPress, a default theme, and officially supported plugins?

    I think there is still one piece to put in place 😉

    Thread Starter gregcarroll

    (@gregcarroll)

    Hi Alex i deleted it and started again and it works.

    heres hoping thats the end of any issues

    thanks for getting back to me. – any issues ill let you know

    All the best
    Greg

    Plugin Author Alexandre Froger

    (@frogerme)

    Hi @gregcarroll !
    Glad it’s working now! It is possible there was a discrepancy of configuration somewhere… If you happen to find where the issue came from, please do not hesitate to reply to this topic to inform the rest of the community! In the meantime, I will mark the topic as resolved.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘syntax error accross sites’ is closed to new replies.