• Resolved birobiro

    (@birobiro)


    I’m getting this error, so i cannot add redirections, neither see which redirections i have made before.

    Unexpected token < in JSON at position 979 (SyntaxError)

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

    Can you please help me?

    `Plugin: 5.1.3 4.2
    WordPress: 5.8 (single)
    PHP: 7.4.21
    Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36
    JavaScript: https://www.ibizaisla.es/wp-content/plugins/redirection/redirection.js?ver=5.1.3-81f455fc2a8faec560fb955b29f9a717
    REST API: https://www.ibizaisla.es/wp-json/
    Query: ?page=redirection.php&sub=support

    Error: Unexpected token < in JSON at position 979 (SyntaxError)
    Raw: {“status”:[{“id”:”db”,”name”:”Tablas de la base de datos”,”status”:”good”,”message”:”Est\u00e1n presentes todas las tablas”},{“name”:”Grupos v\u00e1lidos”,”id”:”groups”,”message”:”Detectados grupos v\u00e1lidos”,”status”:”good”},{“name”:”Grupo de redirecci\u00f3n v\u00e1lido”,”id”:”redirect_groups”,”message”:”Todas las redirecciones tienen un grupo v\u00e1lido”,”status”:”good”},{“name”:”Grupo de supervisi\u00f3n de entradas”,”id”:”monitor”,”message”:”El grupo de supervisi\u00f3n de entradas es v\u00e1lido”,”status”:”good”},{“name”:”Protocolo de portada y el sitio”,”id”:”redirect_url”,”message”:”Portada y sitio son consistentes”,”status”:”good”}],”debug”:{“database”:{“current”:”4.2″,”latest”:”4.2″},”ip_header”:{“HTTP_CF_CONNECTING_IP”:”81.172.43.105″,”HTTP_CLIENT_IP”:false,”HTTP_X_FORWARDED_FOR”:”81.172.43.105″,”HTTP_X_FORWARDED”:false,”HTTP_X_CLUSTER_CLIENT_IP”:false,”HTTP_FORWARDED_FOR”:false,”HTTP_FORWARDED”:false,”HTTP_VIA”:false,”REMOTE_ADDR”:”81.172.43.105″}}}<br />
    <b>Deprecated</b>: Directive ‘allow_url_include’ is deprecated in <b>Unknown</b> on line <b>0</b><br />`

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

    (@johnny5)

    The problem is shown at the end:

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

    This is from something else on your site.

    Thread Starter birobiro

    (@birobiro)

    You are right, there was a problem with my PHP. Now the problem is solved.

    Thank you!

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

The topic ‘REST API PROBLEM’ is closed to new replies.