Skip Navigation

[Resolved] Unable to save new query filter error

This support ticket is created 4 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by tisonK 4 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#1572691

I am trying to:

I'm just trying to add one additional field to the Query Filters section and it's giving me an error, saying:

"Only lowercase letters, numbers, hyphens and underscores allowed as URL parameters".

For virtually every field that was added up on that top section (I have roughly 30 filters up there).

What is odd is - I didn't manually add any of the query params to this top section (I used toolset to add them as search criteria). Now it's telling me to change them all to lowercase - won't this now break the query functionality?

Is there a way around this so I can just add the one field?

Here's what I'm seeing now:
hidden link

How do I get around this error message?
Any thoughts?

Thanks again,
T

#1572895

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

As the error message displays "Only lowercase letters, numbers, hyphens and underscores allowed as URL parameters".
- I see with the URL param name you pass, it contains the uppercase letters. Would you mind to change those uppercase letters to lowercase?

#1573093

Minesh,

Since those 30+ fields were added by toolset, I was really confused why it wouldn't let me save those when I tried to change them (and I didn't want to break what toolset had created). Why did toolset create them like that (to not then be saved)?

If anyone else has this issue in the future, here's how I solved it:

1) If you add a new query filter through the view button "Add filter" down below and you add it to "Search and Pagination" section then click save, it will add it to the Query Filters area up top.
2) Then you can edit the new filter in the Query Filters area up top (it will allow you to save just the one field)
3) Then you can remove it from the search and pagination area.

Toolset team - Hopefully you can fix this bug in the way the tool adds params to the query filter area.

Thank you all,
T