• Resolved mkhenrik

    (@mkhenrik)


    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 6 years, 11 months ago by mkhenrik.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • 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

    (@mkhenrik)

    Yes, that was it! Thanks!!

    I hope they fix this in the next update.

    Kind regards
    Henrik

    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!

    Hi @amitkvint

    Thank you for checking this.
    Can’t wait to hear some good news.

    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.

    Great,
    Can you estimate when this version will be released?

    Hello amitkvint. Can you please let us know if this issue has been fixed in WPML?

    Hi @amitkvint,

    I’m intresting to know too.

    That was fixed already in WPML 3.9, please let me know if this still happens.

    @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.