• Resolved JVM Design

    (@jvmd)


    After the latest update, we’re getting this message:
    Postman: wp_mail has been declared by another plugin or theme, so you won’t be able to use Postman until the conflict is resolved.
    More info that may help?– /home/parker/www/wp-includes/pluggable.php:174

    As pluggable.php is a core WordPress file, we’re unsure what to do here and don’t think this is a conflict with another plugin.

    We just did a test email and that was sent successfully, so are wondering if this is a false positive message?

Viewing 10 replies - 1 through 10 (of 10 total)
  • +1 this is for sure a not thoroughly tested update.

    I got same errors flooding my logs.

    I checked all the plugins/theme and there is no other wp_mail() declaration. Only in pluggable.php

    • This reply was modified 1 year, 2 months ago by mihannsell.

    Hi @mihannsell,

    I hope you are doing well.

    wp_mail is a pluggable function and it is being overridden by any of the themes or plugins. You must deactivate plugins one by one and switch the theme to the default theme, keep an eye on the notice when it disappears.

    Thanks and regards,
    Support Team – WPExperts

    Thread Starter JVM Design

    (@jvmd)

    Well, looks like we’re switching to another plugin then. Can’t eat up time with mystery conflicts when the plugin developer isn’t willing to find and fix them. Sorry.

    @smakazmi15 means that you can override this function. Nothing more nothing less.

    I checked all the plugins and theme and there are THREE declarations of wp_mail() function. ONE in pluggable.php and the other TWO within your plugin.

    first – wp-content/plugins/post-smtp/Postman/extra/no-localhost-mails.php

    second – wp-content/plugins/post-smtp/Postman/PostmanWpMailBinder.php

    pls review this plugin once more.

    Hi @mihannsell,

    I hope you are doing well.

    Please create a new thread so we can discuss your issue in detail and get back to you with a solution.

    Thanks and regards,
    Support Team – WPExperts

    Hi @jvmd,

    I hope you are doing well.

    Functions present in wp-includes/pluggable.php are Pluggable and can be overridden, Post SMTP is doing it to implement SMTPs.This file wp-includes/pluggable.php contains the wp_mail function, Post SMTP is overriding it, Loading file wp-includes/pluggable.php or wp_mail before Post SMTP declares wp_mail won’t let Post SMTP work

    Thanks and regards,
    Support Team – WPExperts

    Plugin Author Saad Iqbal

    (@saadiqbal)

    Hi @jvmd ,

    Hope you are doing well. Just for your information recently it was reported by one of our users that the latest update of All in one SEO triggered this issue. Deactivating All in one SEO did resolved this issue.

    >> Reference Thread

    Just wanted to confirm if you are using All in one SEO as well?

    Looking forward to your feedback.

    Thanks!

    Thread Starter JVM Design

    (@jvmd)

    @saadiqbal Actually yes, this particular site is using All in One.

    Hello, we also have the same problem / errors in logfiles.

    Did the search for the function and we have these 4 files.

    /var/www/html# grep -Rnl "function wp_mail" .
    ./wp-content/plugins/post-smtp/Postman/extra/no-localhost-mails.php
    ./wp-content/plugins/post-smtp/Postman/PostmanWpMailBinder.php
    ./wp-content/plugins/post-smtp/Postman/Extensions/MainWP-Child/includes/psmwp-functions.php
    ./wp-includes/pluggable.php

    Today we running version 2.6.0 of the plugin, any idea when this problem may be fixed?

    Hi @lennartn,

    I hope you are doing well.

    Please create a new thread so we can discuss your issue there in detail.

    Thanks and Regards,
    Support Team-WP Experts.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘After latest update: “Postman: wp_mail has been declared by another plugin…”’ is closed to new replies.