I am trying to:
Display all subcategories on archive page category: homogenizers.
Link to a page where the issue can be seen:
hidden link
I expected to see:
All subcategories (3) like on the pages below
hidden link
hidden link
Instead, I got:
View returns no items found, only in the german language. Dutch and english pages works perfect.
Already checked the product/categories in the different languages but i couldn't find any differences between the german and the other languages.
When i turn on toolset view debug mode:
'Items found' is 0 while as you can see in the screenshot 'Query results' has the correct terms, but for some reason it doenst count the terms as 'Items found'.
Also when i turn on wordpress debug mode i get the following notices (i dont know if this has anything to do with this).
[14-Mar-2019 08:36:12 UTC] PHP Notice: is_404 was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /home/app/public_html/wp-includes/functions.php on line 4196
[14-Mar-2019 08:36:12 UTC] PHP Notice: is_single was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /home/app/public_html/wp-includes/functions.php on line 4196
Hi, your WordPress installation, Toolset plugins, and WPML plugins are mostly out of date. I would begin by creating a backup of the current site, then updating everything to the latest versions before testing again.
I don't think the PHP notices are directly related to this issue. You can try a few troubleshooting steps:
- See the notice at the top of wp-admin and the screenshot attached here: "Taxonomy sync problem" You should resolve this issue here: hidden link
- Temporarily deactivate all plugins except Toolset and WPML.
- Activate a default theme like Twenty Nineteen and test again.
- If the problem is resolved, reactivate your theme and plugins one by one until the problem returns.
- If the problem is not resolved, I will be glad to take a closer look.
Hello Cristian,
I have tried your suggestions in a development area, but the problem still persists.
I can send you the credentials for the development area if you can mark my next reply as private.
Okay please send the login credentials for the dev environment in a private reply here.
Already found the solution it was because the category slug in german and dutch were the same. Added the suffix -de on the german taxonomy and it works!
My issue is resolved now. Thank you!