Skip Navigation

[Resolved] Filters stoped working suddently

This support ticket is created 3 years 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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 8 replies, has 4 voices.

Last updated by Deniz 2 years, 12 months ago.

Assisted by: Shane.

Author
Posts
#2266617

I am trying to: make filters work on our blog page. They always worked, but stopped since a few weeks. I tried to delete filters and put them again, but it doesn't work

Link to a page where the issue can be seen: I removed it from our prod website, still on our staging website.
hidden link

I expected to see: Working filters at the top

Instead, I got: None working filters at the top

#2266649

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screenshot 2022-01-14 at 16.32.20.png

When I check the page with the browser dev tools I don't see any event listener on the filters, and there is no submit button for the filter form.

It looks like the search settings are not set to update whenever a filter changes, which would require a submit button to trigger the update (and there is no search button).

See the screenshot for the setting I refer to.

Make sure the results are set to update whenever a filter changes.

Does that fix the problem?

#2270211
printscreen-toolset.JPG

Hi Nigel,

Thank you very much for your answer!
I checked, and I have the impression I checked the right parameter; so the problem might be somewhere else.
It was working fine, and one day it stopped.

Is there something I can better do for you to help me?

With best regards,
Deniz

#2270255

Minesh
Supporter

Languages: English (English )

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

Can you please share admin access details so I can check whats going wrong with your setup.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2271197

Minesh
Supporter

Languages: English (English )

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

Unfortunately the admin access details you shared is not working at this end. Can you please send me working admin access details.

I have set the next reply to private which means only you and I have access to it.

#2272097

Minesh
Supporter

Languages: English (English )

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

I checked on the staging site you shared that you are using PHP Version 8.0.13.

Toolset yes not fully compatible with PHP 8. Can you please downgrade the PHP version to PHP 7.x.x and try to resolve your issue.

In addition to that I also suggest to update all third-party plugins to latest official release version.

#2272303

Thanks Minesh for your help!

I proceeded to the update from PHP 7.4 to 8 last Wednesday, and my issue is there at least since November-December 2021.
So I am 100% sure it is not related to that. Considering the efforts needed to have a website compatible with PHP 8, I prefer to stay as it is now and sacrifice the filters if downgrading is the only solution you have.

Therefore... your advice would be to wait a more compatible version of Toolset?

Thanks,
Best,

#2274453

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Deniz,

As Minesh is currently on vacation, I will be handling this ticket for him.

Taking a look at the link to the search page you've sent I see that wordpress throwing an error prompting me to install the WP Debugging plugin to see what the error was.

It turns out to be

Fatal error: Uncaught ArgumentCountError: array_merge() does not accept unknown named parameters in

Which is the known error that is thrown when using our Toolset Views plugin on PHP 8.

Therefore... your advice would be to wait a more compatible version of Toolset?

This would be our advice but given your case you may just need to sacrifice the searching for now. Unfortunately I cannot give a solid answer for when our Views/Blocks plugin will be compatible with php version 8.

Thanks,
Shane

#2274853

Hi Shane,

Thanks a lot for your investigation on our website.
I will therefore wait for an update and continue as is, no problem for us!

Thanks for your great job on this plugin and your very good support, I appreciate 🙂