Title: Error in pluggable.php:173
Last modified: December 6, 2017

---

# Error in pluggable.php:173

 *  Resolved [mkhenrik](https://wordpress.org/support/users/mkhenrik/)
 * (@mkhenrik)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/error-in-pluggable-php173/)
 * Hi,
 * I am getting an error message on several sites saying that wp_mail has already
   been declared.
    “More info that may help – /home/v/viviere/www/wp-includes/pluggable.
   php:173”
 * I can´t send emails and i can´t do other tasks in WordPress that uses the wp_mail
   function, like changing order status for orders in woocommere for example, it
   just returns a 500-error page.
 * This problem came up after i did an upgrade of WordPress and it´s plugins.
 * Wordpress debug also says:
    06-Dec-2017 13:58:24 UTC] PHP Warning: Missing argument
   2 for wp_mail() in /home/v/viviere/www/wp-includes/pluggable.php on line 173
 * I have no other SMTP plugins.
    (Woocommerce and WPML is installed)
 * Anyone else having this problem?
 * Kind regards
    Henrik
    -  This topic was modified 8 years, 6 months ago by [mkhenrik](https://wordpress.org/support/users/mkhenrik/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-in-pluggable-php173%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [yehudah](https://wordpress.org/support/users/yehudah/)
 * (@yehudah)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/error-in-pluggable-php173/#post-9757582)
 * Hi,
 * I can confirm it’s a problem on WPML side.
 * in \wp-content\plugins\sitepress-multilingual-cms\inc\utilities\wpml-data-encryptor.
   class.php line number 112
 * replace the line:
    `require_once ABSPATH . '/wp-includes/pluggable.php';`
 * with this
    `//require_once ABSPATH . '/wp-includes/pluggable.php';`
 * update if it’s working.
 *  Thread Starter [mkhenrik](https://wordpress.org/support/users/mkhenrik/)
 * (@mkhenrik)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/error-in-pluggable-php173/#post-9759659)
 * Yes, that was it! Thanks!!
 * I hope they fix this in the next update.
 * Kind regards
    Henrik
 *  [amitkvint](https://wordpress.org/support/users/amitkvint/)
 * (@amitkvint)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-in-pluggable-php173/#post-9781859)
 * Hi, Amit here from the WPML compatibility team.
 * We are looking at it and I’ll update here with some news when I have them.
 * Thanks!
 *  [yehudah](https://wordpress.org/support/users/yehudah/)
 * (@yehudah)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-in-pluggable-php173/#post-9781867)
 * Hi [@amitkvint](https://wordpress.org/support/users/amitkvint/)
 * Thank you for checking this.
    Can’t wait to hear some good news.
 *  [amitkvint](https://wordpress.org/support/users/amitkvint/)
 * (@amitkvint)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-in-pluggable-php173/#post-9781896)
 * OK, I have some good news – this is already reported for another plugin and we
   are testing the fix.
 * It’ll be added to one of the next WPML versions (not the immediate WPML 3.9 one
   probably but after).
 * I’ll keep you posted here.
 *  [yehudah](https://wordpress.org/support/users/yehudah/)
 * (@yehudah)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-in-pluggable-php173/#post-9781904)
 * Great,
    Can you estimate when this version will be released?
 *  [WordPMTL](https://wordpress.org/support/users/wordpmtl/)
 * (@wordpmtl)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/error-in-pluggable-php173/#post-10021150)
 * Hello amitkvint. Can you please let us know if this issue has been fixed in WPML?
 *  [yehudah](https://wordpress.org/support/users/yehudah/)
 * (@yehudah)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/error-in-pluggable-php173/#post-10021174)
 * Hi [@amitkvint](https://wordpress.org/support/users/amitkvint/),
 * I’m intresting to know too.
 *  [amitkvint](https://wordpress.org/support/users/amitkvint/)
 * (@amitkvint)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/error-in-pluggable-php173/#post-10021301)
 * That was fixed already in WPML 3.9, please let me know if this still happens.
 *  [yehudah](https://wordpress.org/support/users/yehudah/)
 * (@yehudah)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/error-in-pluggable-php173/#post-10198493)
 * [@wordpmtl](https://wordpress.org/support/users/wordpmtl/)
 * can you confirm the fix is working good?

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

The topic ‘Error in pluggable.php:173’ is closed to new replies.

 * ![](https://ps.w.org/post-smtp/assets/icon-128x128.gif?rev=3209655)
 * [Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App](https://wordpress.org/plugins/post-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/post-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-smtp/reviews/)

 * 10 replies
 * 4 participants
 * Last reply from: [yehudah](https://wordpress.org/support/users/yehudah/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/error-in-pluggable-php173/#post-10198493)
 * Status: resolved