Support » Plugin: Mailjet Email Newsletter Marketing » WooCommerce Save post fatal error

  • Resolved barbeapapier

    (@barbeapapier)


    Hi,
    On the latest version I have a problem when saving products on WooCommerce. The error “Invalid email address” appears as soon as I save.
    Looking for a little it is a problem with the function mailjet_subscribe_comment_author use on wp_insert_comment when it appears that the action is also called when saving a post via the admin area. I was able to work around the problem using the following code:

    if (is_admin ()) {
        return;
    }

    that I placed at the beginning of the mailjet_subscribe_comment_author function in wp-mailjet.php at line 222.

    Thank you for correcting this problem.

    Didier

    • This topic was modified 5 months, 3 weeks ago by  barbeapapier.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mailjet

    (@mailjet)

    Hello Didier,

    Thank you for reporting this issue. We will check and provide a fix.

    Kind regards,
    Mailjet Plugins Team

    Plugin Author Mailjet

    (@mailjet)

    Hello again, please grab v.4.4 of the plugin which should resolve that problem.

    Kind regards,
    Mailjet Plugins Team

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.