• Resolved pcullum

    (@pcullum)


    Yesterday, redirection worked fine. Just updated to version 4.7.2 today. Now, the plugin seems to be broken. Previously created redirects don’t redirect. When i try to create a new one, I get these error messages:
    Something went wrong ??
    Unexpected token in JSON at position 0 (SyntaxError)

    WordPress returned an unexpected message. This is probably a PHP error from another plugin.

    REST API:
    Unavailable
    Check Again
    Summary: Your REST API is not working and the plugin will not be able to continue until this is fixed.

    Current API
    URL: https://www.imnewswatch.com/wp-json/

    GET POST SyntaxError: Unexpected token in JSON at position 0

    Unexpected token in JSON at position 0 (SyntaxError)

    WordPress returned an unexpected message. This is probably a PHP error from another plugin.

    Show Full

    URL: https://www.imnewswatch.com/index.php?rest_route=/

    GET POST TypeError: Failed to fetch

    Failed to fetch

    Unable to make request due to browser security. This is typically because your WordPress and Site URL settings are inconsistent, or the request was blocked by your site CORS policy.

    Read this REST API guide for more information.

    URL: /wp-json/

    GET POST SyntaxError: Unexpected token in JSON at position 0

    Unexpected token in JSON at position 0 (SyntaxError)

    WordPress returned an unexpected message. This is probably a PHP error from another plugin.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter pcullum

    (@pcullum)

    The URL I mention in the header of the post is an example or an existing page using redirection for the links on the page. Yesterday these links went to an off-site URL,

    Today, they go nowhere beyond the redirecting URL on my site.

    • This reply was modified 4 years, 10 months ago by pcullum.
    Plugin Author John Godley

    (@johnny5)

    The REST API error won’t stop existing redirects from working.

    As the error indicates, your WordPress REST API is broken.

    https://www.imnewswatch.com/wp-json/

    Looking at it I can see that something is outputting a lot of white space and this is breaking it. This is likely caused by a theme or a plugin, and is not connected to Redirection.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘4.72. is failing to redirect’ is closed to new replies.