Category name under some thumbs is multiplied

This topic has 9 replies, 3 voices, and was last updated 2 years, 5 months ago ago by Olga Barlow

  • Avatar: buscape
    buscape
    Participant
    June 9, 2022 at 13:45

    Hello,
    recently I’ve found this problem:
    https://prnt.sc/faazHbd27edK
    https://prnt.sc/n0SRI-cQfRPr

    Kind Regards

    Please, contact administrator
    for this information.
    8 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 9, 2022 at 14:11

    Hello,

    Please provide temporary wp-admin and FTP access.

    Regards

    Avatar: buscape
    buscape
    Participant
    June 9, 2022 at 14:17

    here you are

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 9, 2022 at 14:25

    Hello,

    Select Primary category – https://prnt.sc/q-Zo2GdsGkLW

    Regards

    Avatar: buscape
    buscape
    Participant
    June 9, 2022 at 14:41

    why do i need to do that?
    There is one category checked, and then “auto” for primary category.

    Furthermore, most of the thumbs don’t have category:
    https://prnt.sc/5-rXXBYPbIrv

    Regards

    Avatar: buscape
    buscape
    Participant
    June 10, 2022 at 07:18

    I think that all category names are gathered under one thumb:

    https://prnt.sc/TrBhxUvtPp0D

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 10, 2022 at 08:49

    Hello,

    This is the conflict between the new version of WordPress and the WPML plugin.

    We use default WooCommerce function wc_get_product_category_list() http://hookr.io/functions/wc_get_product_category_list/ .
    This function is based on the get_the_term_list() https://developer.wordpress.org/reference/functions/get_the_term_list/ that based on get_the_terms() https://developer.wordpress.org/reference/functions/get_the_terms/ .
    And problem is that get_the_terms() returns incorrect data after latest WP update.
    We added a temporary fix in the child theme and use another function that gets data directly from the DB without using the default functions that I mentioned above. But it may slow down the page speed. So, I would recommend you to contact WP and WPML support to ask them to check the mentioned default functions and fix them.

    Regards

    Avatar: buscape
    buscape
    Participant
    June 10, 2022 at 08:57

    OK, thank you!

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 10, 2022 at 11:03

    Hello,

    You are welcome.

    Regards

  • Viewing 9 results - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.