• Resolved ali.dolphin

    (@alidolphin)


    For some reason, if I try to add a new redirection or upload via csv it comes up with an error.

    I have checked the logs and it shows there are some problems connecting to your REST API. It is not necessary to fix these problems and the plugin is able to work.

    The error

    GET POST TypeError: Failed to fetch

    Failed to fetch

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

    All the Redirections added previously still work but no new ones can be added or uploaded.

    Running PHP Version 7.2. WordPress Version 5.6.

    Thanks
    Ali

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

    (@johnny5)

    Without the full error details it’s hard to say, but usually the onscreen message provides most of the information.

    Thread Starter ali.dolphin

    (@alidolphin)

    Plugin: 5.0.1
    WordPress: 5.5.3 (single)
    PHP: 7.3.26-1+ubuntu18.04.1+deb.sury.org+1
    Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36
    Query: ?page=redirection.php

    Error: Unable to add new redirect (redirect_create_failed)
    Raw: {“code”:”redirect_create_failed”,”message”:”Unable to add new redirect”,”data”:{“status”:400,”error_code”:295,”wpdb”:”Unknown column ‘match_data’ in ‘field list'”}}

    • This reply was modified 3 years, 9 months ago by ali.dolphin.
    Plugin Author John Godley

    (@johnny5)

    Ok, that’s a different error to the first one. Go to the ‘support’ page, change the database version to 2.4, and follow the instructions.

    Thread Starter ali.dolphin

    (@alidolphin)

    Hi John

    Thanks for your speedy response. It currently is set to 2.4 ??

    Thanks
    Ali

    Plugin Author John Godley

    (@johnny5)

    Are there any database upgrade notices on the page?

    Thread Starter ali.dolphin

    (@alidolphin)

    Yes, but conscious of what this will do?

    Thanks
    Ali

    Plugin Author John Godley

    (@johnny5)

    It will upgrade your database. They are there so you don’t run into problems like this.

    I had this error too and there were API errors all over the place.
    What I actually needed to do was to UPGRADE WORDPRESS VERSION and then upgrade the redirection database went just fine.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Unable to add Redirection’ is closed to new replies.