• Resolved Timothy Couckuyt

    (@devplus_timo)


    Hey guys,

    On line includes/api/class-mailchimp-woocommerce-transform-products.php:87 the wpml_switch_language_action function is executed, but that generates a PHP Warning when a language translation could not be found on line 86. Therefor it’d be better to first check if the language info has been found and $post_language_info->language_code is set before passing it on in the wpml_switch_language_action function call.

    Can you please write a fix for this?

    Thanks a lot.

    // T

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support KJ

    (@kjvextras)

    Hi @devplus_timo thanks for bringing this to our attention. We are taking a look and will swing back around with an update.

    Plugin Support KJ

    (@kjvextras)

    Hi there! letting you know we found the issue and the fix will be in the 4.5 plugin. Stay tuned! And thanks again for bringing this to our attention.

    Thread Starter Timothy Couckuyt

    (@devplus_timo)

    Anytime @kjvextras !

    // T

    Plugin Support KJ

    (@kjvextras)

    Hi there, just letting you know we have implemented this change in Mailchimp for WooCommerce v5.0

    We just wanted to check back with you to see if this was still a problem with our latest plugin Mailchimp for WooCommerce v5.0. Please let us know when you get a moment, we’ll be happy to help troubleshoot further if necessary.

    Plugin Support KJ

    (@kjvextras)

    Hi there, we’re going to close out this ticket for now since it’s been a few weeks since we’ve been in touch. Please let us know if you still need any help and we’ll be glad to reopen and troubleshoot further.

    Please note, that the best way to reach us is over at the GitHub plugin page: https://github.com/mailchimp/mc-woocommerce/. From there, you can receive direct responses from the development team, log new issues, download the latest version, and track existing support tickets.

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

The topic ‘PHP Warning when wpml_switch_language_action is executed’ is closed to new replies.