Skip Navigation

[Closed] Filters no longer working

This support ticket is created 4 years, 11 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 13 replies, has 3 voices.

Last updated by Luo Yang 4 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#1749151

Tell us what you are trying to do?
I need the filters to work! They had been working just fine. I had no issues with them. There are 500 salons, so it's not like there are thousands to pull from. But the Canada, and Bermuda options won't load at all, and the US > States sometimes works, but the US > States > Cities doesn't work. It just spins and I get a 502 error.
Is there any documentation that you are following?
I set this up according to the "create your own directory" instructions of Toolsets.

I have already put this in a test environment and tried different themes, and turned off all of my other plugins to no avail. It still didn't load.

What is the link to your site?
hidden link

#1753297

Hello,

The problem you mentioned above is abnormal, there should be some PHP errors in your website, please check these:
1) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/

2) check if there is any PHP/JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/

Especially the PHP debug logs, please share the them, that will be helpful for locate the problem.

#1753397

I assume we are talking about this page of your website:
hidden link

I can see there is a JS error:

Uncaught TypeError: Cannot read property 'safari' of undefined

Our developers have suggested these:
1) Install the Enable jQuery Migrate Helper plugin:
https://wordpress.org/plugins/enable-jquery-migrate-helper/

2) If the problem is fixed, we want to debug this issue further, please provide a full copy of your website in below private message.
https://toolset.com/faq/provide-supporters-copy-site/

#1753939

PHP Errors

#1753941

JQuery migrate installed and didn't work. Let me know how i can privately share the PHP Errors in the log.

#1754105

Just one thing to note: once I put the JQuery Migrate Helper in I get this error:
hidden link: jQuery.browser is deprecated

#1754221

I can get the PHP debug logs you sent yesterday.

There are two kinds of errors:
1) PHP Warning: count(): Parameter must be an array or an object that implements Countable in plugins/OTHER/classes/class_frontend_unit.inc.php on line 2041

I suggest you disable this plugin "OTHER" and test again

2) PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 139264 bytes) in wp-includes/functions.php on line 6364

It seems your website is using 512M PHP memory limitation, if your website are using lots of plugins and custom theme, you might need to increase the PHP memory limitation to 1024M or above, see WP document:
https://wordpress.org/support/article/editing-wp-config-php/#increasing-memory-allocated-to-php

#1754237

As noted in my first post: I turned off ALL the plugins and switched to a default theme and the filters still will not work. I have a custom post type that I have loaded into a map, as well as relationship filters set up for selecting a country, state/province, and city to narrow down the results. They only *sometimes* load. And if you got them to run once they will not run again.

#1754239

I also did have my host up the memory setting. It made no difference. It still keeps getting stuck and acting like there's something not clearing.

#1754243

Please provide your website database dump file in below private message box, you can put the package files in your own google drive disk, share the link only, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#1756139

Hi,

Thank you for sharing the database dump file.

Luo is on holiday today and will be able to follow-up on this once he is back tomorrow.

Thank you for your patience.

regards,
Waqar

#1757447

The database dump file you provided is not valid, I get 404 errors, please try as I mentioned above, put the package files in your own google drive disk, share the link only, private message box enabled again.

#1759883

The file you provide above is 7.49 GB size, it is too large to download, might take whole day to download it, and the sql file is still not valid, 404 error, you can put the database dump file in your own google drive disk, share the google drive link in below private message box, thanks

#1765839

Nope, the sql file is still 404 error, please put it in your own google drive disk, share the link only. Private message box enabled again.

The topic ‘[Closed] Filters no longer working’ is closed to new replies.