Booster
4.6/5

Home Forums Booster Plus Customer Forum wp_mail pluggable function

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #41473
    Alain
    Participant

    Hi

    Today I am getting the following alert:

    —————-
    The FluentSMTP plugin depends on wp_mail pluggable function and plugin is not able to extend it. Please check if another plugin is using this and disable it for FluentSMTP to work!

    Possible Conflict: /home/xxx/public_html/example.com/wp-includes/pluggable.php:182
    —————-

    After a few tests I found a problem with your last update: Current version: 5.6.1 – Last updated: 2022-08-31.

    I just disable it and the problem went away. But this is NO SOLUTION because I need PLUS features.

    Happily I found the old version 5.6.0 in my local install, I rolled back to that version and the problem was solved.

    I may not be entitled to support, but I am reporting your bug.

    Thank you

    Alain Aubry

    #41477
    Bailey Killian
    Participant

    I don’t use FluentSMTP but I got the same issue when I updated with my SendGrid. I had to rollback my plugin as well. There is definitely a compatibility issue with wp_mail.

    #41478
    Alain
    Participant

    Ok, the “changelog” mentions 2 issues related to mail functions:
    * FIXED – EMAILS & MISC. – Modules By User Roles – Fixed Enable/disable modules by user roles.
    * FIXED – EMAILS & MISC. – My Account – Added restriction for Cross browser scripting.

    I rolled back to version: 5.6.0 and the problem cleared.

    #41482
    weichun
    Participant

    Following this issue as I have the same error with FluentSMTP.
    Had to disable Booster for Woo, otherwise can’t send out email notifications for orders and etc.

    #41484
    Alain
    Participant

    Roll back to 5.6.0

    #41485
    Netserve
    Participant

    Same problem with FluentSMTP… now I have to find the 5.6.0…

    #41488
    Rony P
    Participant

    Hello,

    My sincere apologies for the above. Could anyone share the exact error so that I could have a look?

    Kind Regards,
    RonyP – Support Team

    #41489
    Netserve
    Participant

    The FluentSMTP plugin depends on wp_mail pluggable function and plugin is not able to extend it. Please check if another plugin is using this and disable it for Fluent Mail to work!

    restored the 5.6.0 version and the error disappeared

    #41490
    Rony P
    Participant

    Hello,

    Could I please get debug log so that I can target the bug directly?

    As per my notes, I did not make any changes related to the wp_mail() function. There may be some other conflict.

    Kind Regards,
    RonyP – Support Team

    #41493
    Alain
    Participant

    This is what I have: https://i.imgur.com/ZpfPjV8.png

    #41502
    Alain
    Participant

    Last update of FluentSMTP plugin was 2 weeks ago, so it is something else …
    On August 30 WP was updated, I rolled it back and the problem remained.

    I rolled back the last FluentSMTP and last WordPress, in one at a time and both together, the problem always persisted.

    Frankly, IMHO there is an incompatibility with the new WP (6.0.2), maybe not noticed before.
    But the ONLY solution I found was to roll back Booster Plus for WooCommerce to 5.6.0.

    I don’t know how to get that “debug log” you re asking.

    Thanks

    #41536
    Gale Butler
    Participant

    My SMTP plugin is giving up with the message “wp_mail has been declared by another plugin or theme, so you won’t be able to use Postman until the conflict is resolved.”. The conflict is resolved by disabling Booster Plus for WooCommerce.

    According to the mail plugin’s support, the problem is not necessarily triggered by declaring wp_mail, but requiring wp-includes/pluggable.php when you shouldn’t be.

    Booster does that in four files:
    \includes\classes\class-wcj-module-product-by-condition.php,
    \includes\functions\wcj-functions-booster-core.php,
    \includes\functions\wcj-functions-users.php,
    \includes\mini-plugin\wcj-mini-plugin.php

    Can’t send email while your plugin is active. That’s problematic. I need it fixed.
    Where can I get 5.6.0?

    #41538
    Alain
    Participant

    Hi @fbsp

    The solution is posted here: https://wordpress.org/support/topic/critical-email-error-after-update-to-5-6-1/
    A new release with the fix is expected asap.

    #41541
    Gale Butler
    Participant

    Thank you @caban

    I saw that, but it’s posted in the free plugin’s forum on wordpress.org.
    Do we know if those files are the same as used in Booster Plus?
    Meanwhile, I installed 5.6.0 and the error is no longer occurring.

    #41545
    Alain
    Participant

    Right. The instruction is similar for “plus”.

    Could you please upgrade the plugin now to the latest version and replace the 2 files I have shared below?

    /wp-content/plugins/booster-plus-for-woocommerce/includes/mini-plugin/wcj-mini-plugin.php
    /wp-content/plugins/booster-plus-for-woocommerce/booster-plus-for-woocommerce.php

    Source files: https://storage.booster.io/email-fixes/booster_plus_aug2022_email_fix.zip

    The “Source Files” is the same. This solution is working for me. Good luck!

Viewing 15 posts - 1 through 15 (of 19 total)
  • You must be logged in to reply to this topic.