Skip Navigation

[Resolved] Taxonomy filter shows 0 results with second language (WPML)

This support ticket is created 5 years, 5 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.

Our next available supporter will start replying to tickets in about 0.49 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 5 replies, has 2 voices.

Last updated by Christian Cox 5 years, 5 months ago.

Assisted by: Christian Cox.

Author
Posts
#1270065
Screenshot 2019-06-16 at 19.59.55.png
Screenshot 2019-06-16 at 20.00.08.png

I have a taxonomy filter which works fine in default language. When I change language, the taxonomies show the number of posts as in default language, but as soon as I choose a taxonomy, result is 0.

#1270103

Hi can you try these troubleshooting steps?
- Update all your WPML and Toolset plugins to the latest versions.
- Temporarily deactivate all plugins except Types, Views, and WPML CMS
- Test again. If the problem is resolved, reactivate other plugins one by one until the problem returns.
- Tell me is this a View or a custom search WordPress Archive?
- If it's a View, have you inserted the search filters and results separately in a template using blocks or shortcodes? If separate, try inserting both together and let me know the results.
- If this View uses AJAX updates, try without AJAX as a test and let me know the results.

#1270161

Hi Christian, thank you for the check list. I started from the end, AJAX, and that it was. Without AJAX filttering works.

Other points:

- Update all your WPML and Toolset plugins to the latest versions.
Done

- Temporarily deactivate all plugins except Types, Views, and WPML CMS
- Test again. If the problem is resolved, reactivate other plugins one by one until the problem returns.
These 2 are not done yet.

- Tell me is this a View or a custom search WordPress Archive?
This is a view.

- If it's a View, have you inserted the search filters and results separately in a template using blocks or shortcodes? If separate, try inserting both together and let me know the results.
Shortcodes and together.

#1270569

Okay if the problem is resolved in non-AJAX updates, the next step is to check the language cookie settings. Go to WPML > Languages and scroll down to "Language filtering for AJAX operations". Is this checkbox checked? If not, check it and test again.

#1271261

Ok, I checked now the "Language filtering for AJAX operations", but it didn't help.

#1271761

Okay, at this point it's probably best for me to log in to your wp-admin panel to crate a clone of your site. This will allow me to run some additional tests locally without breaking your live site. If that's okay with you, please provide login credentials in the private reply fields here.