redirection icon indicating copy to clipboard operation
redirection copied to clipboard

Redirection Error

Open x3blondie opened this issue 2 years ago • 12 comments

Plugin: 5.3.10 4.2
WordPress: 6.2.2 (single)
PHP: 8.1.18
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36
JavaScript: https://bj.org/wp-content/plugins/redirection/redirection.js?ver=5.3.10-948a20e46d8617ec7b6cf37114495e49
REST API: https://bj.org/wp-json/
Query: ?page=redirection.php&filterby%5Burl%5D=test

Error: Invalid parameter(s): filterBy (rest_invalid_param)
Raw: {"code":"rest_invalid_param","message":"Invalid parameter(s): filterBy","data":{"status":400,"params":{"filterBy":"Filter is not an array"},"details":{"filterBy":{"code":"rest_invalid_param","message":"Filter is not an array","data":{"status":400}}}}}

When i try to search the redirects I get this message.

x3blondie avatar May 31 '23 18:05 x3blondie

What filter settings are you using?

johngodley avatar Jun 01 '23 06:06 johngodley

It looks like I'm getting the same error with any filter. I'm not getting any results either.

x3blondie avatar Jun 01 '23 14:06 x3blondie

Sure, but can you show me what settings you have? You probably have something enabled.

johngodley avatar Jun 02 '23 16:06 johngodley

Here are my current settings.

Screenshot 2023-06-06 at 9 53 44 AM Screenshot 2023-06-06 at 9 53 57 AM

x3blondie avatar Jun 06 '23 15:06 x3blondie

This is what I mean so I can see what filters you are using image

johngodley avatar Jun 06 '23 15:06 johngodley

My bad, here's the filters I'm using. Screenshot 2023-06-07 at 8 51 46 AM

x3blondie avatar Jun 07 '23 13:06 x3blondie

@x3blondie would you post a screenshot of your request body from Chrome DevTools network tab? I'm curious what that Chrome is sending in that filterBy parameter.

incraigulous avatar Jun 09 '23 14:06 incraigulous

@incraigulous Is this what's you're looking for? Screenshot 2023-06-09 at 9 49 21 AM

x3blondie avatar Jun 09 '23 14:06 x3blondie

@x3blondie, click on the network tab, find the request under Fetch/XHR, and click on "Payload"

incraigulous avatar Jun 09 '23 14:06 incraigulous

Screenshot 2023-06-09 at 10 02 02 AM I do not see payload @incraigulous

x3blondie avatar Jun 09 '23 16:06 x3blondie

It shows up if you click the request, @x3blondie

https://www.loom.com/share/3358714928714fe98c23f487e0d55889?sid=8b7f9fbf-63c4-485e-af66-f4028b34c06a

incraigulous avatar Jun 13 '23 14:06 incraigulous

@incraigulous Screenshot 2023-06-13 at 9 53 38 AM

x3blondie avatar Jun 13 '23 14:06 x3blondie