• ResolvedModerator Imagethreadi

    (@threadi)


    Hi,

    I would like to support your plugin with some of my plugins. One of the plugins provides a custom post type with a handful of taxonomies. The data records are obtained via an import from external sources.

    As soon as I have activated WP Multilang, I can no longer perform the import. The reason is an infinite loop resulting from the get_meta_field() function.

    When importing, I try to determine the term of a taxonomy via get_term_by(). This WordPress function in turn uses get_term(). Your “get_meta_field” is now called via a hook within it and also tries to retrieve the term itself via get_term() – this now ends in an infinite loop.

    Do you have an idea how to get around this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support ImageAkshay A

    (@akshaycode1)

    Hi,

    Thank you for reaching out to us. Could you please confirm which plugin you are using that is causing this issue? Kindly share the link to that plugin as well. Also, please provide a screenshot of the issue occurring so we can check it on our end and provide you with a swift solution.

    Moderator Imagethreadi

    (@threadi)

    Hello, thanks for the questions. I have since been able to solve the problem myself after realizing that it only occurred with one of our Pro plugins. We have added the option of translations for taxonomies there ourselves, which is of course no longer necessary if your plugin is activated.

    Plugin Support ImageAkshay A

    (@akshaycode1)

    Alright, as per your last comment, we are closing this thread. However, if you need any help, please feel free to reach out to us. Have a great day ahead!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Endless loop during term import’ is closed to new replies.