• Resolved sumanchapai

    (@sumanchapai)


    I am trying to restore my site using Updraftplus. But I get this error message.
    Retrieving (if necessary) and preparing backup files…

    updraft_send_command: error: SyntaxError: Unexpected token in JSON at position 10 (502)

    What does this mean, and how could it be solved?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor bcrodua

    (@bcrodua)

    Hi,

    The usual cause of an HTTP 502 is a timeout in PHP-FPM. Can you consult your web hosting company to check if that is the case, and what they suggest?

    Regards,
    Bryle

    Thread Starter sumanchapai

    (@sumanchapai)

    Thank you. I found out that it’s because of outdated PHP version and ‘json’ not enabled. Once I changed the settings, it worked just fine. Thanks

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

The topic ‘UpdraftPlus unexpected token’ is closed to new replies.