• Resolved edwyth

    (@edwyth)


    I was trying to create a new redirection and got back this error:

    Unexpected token < in JSON at position 16 (SyntaxError)

    Your REST API is showing a deprecated PHP error. Please fix this error.

    Error: Unexpected token < in JSON at position 240 (SyntaxError)
    Raw: {“items”:[{“id”:1,”name”:”Redirections”,”redirects”:207,”module_id”:1,”moduleName”:”WordPress”,”enabled”:true},{“id”:2,”name”:”Modified Posts”,”redirects”:140,”module_id”:1,”moduleName”:”WordPress”,”enabled”:true,”default”:true}],”total”:2}<br />
    <b>Deprecated</b>: Directive ‘allow_url_include’ is deprecated in <b>Unknown</b> on line <b>0</b><br />

    Any help would be appreciated.
    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Godley

    (@johnny5)

    You need to stop this message appearing on your site:

    <br />
    <b>Deprecated</b>: Directive ‘allow_url_include’ is deprecated in <b>Unknown</b> on line <b>0</b><br />

    It is not part of Redirection, is probably appearing everywhere, and will break a lot of things.

    Thread Starter edwyth

    (@edwyth)

    Got it resolved, thank you!

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

The topic ‘Unexpected Token in JSON Position’ is closed to new replies.