WooCommerce Save post fatal error
-
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
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘WooCommerce Save post fatal error’ is closed to new replies.