Postman: wp_mail has been declared by another plugin or theme
-
Hi I just updated the plugin and I have the below error, although all seems to be working fine, yet I cannot dismiss the error message. Should this be of concern?
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 – /nas/content/live/##########/wp-includes/pluggable.php:182Please notice
Post SMTP v2 includes and new feature called: Mailer Type.
I recommend to change it and TEST Post SMTP with the value PHPMailer.
ONLY if the default mailer type is not working for you.how to set mailer type
-
@vectorhold Hi,
Hope you are doing good.
Please share the Diagnostic test report of Post SMTP so then I can reproduce this issue.
Thanks
Actually, emails are only sending if we use PHPmailer, but then our plugin “WooCommerce Send Emails” does not work with PHPmailer, so we need to be able to use PostSMTP. Thanks for your help.
Mailer: postsmtp HostName: sapphirestudiosdesign.com cURL Version: 7.74.0 OpenSSL Version: OpenSSL/1.1.1n OS: Linux pod-120426:apache2_80:254 5.4.0-1072-gcp #77~18.04.1-Ubuntu SMP Wed Apr 13 07:49:40 UTC 2022 x86_64 PHP: Linux 8.0.22 C PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No, zlib_encode=Yes WordPress: 6.0.2 en_US UTF-8 WordPress Theme: Beaver Builder Child Theme WordPress Plugins: Gravity Perks, Gravity Forms, WooCommerce Starshipment Order, WooCommerce Currency Switcher - Product Add-ons Integration, Aelia Shipping Pricing for Currency Switcher, Alerts for Beaver Builder, Beaver Builder Plugin (Pro Version), Beaver Themer, Ultimate Addons for Beaver Builder, PowerPack for Beaver Builder, Booster Plus for WooCommerce, Campaign Monitor for WooCommerce, Code Snippets, Duplicate Page, Easyship, Enable Media Replace, FacetWP - Beaver Builder, FacetWP - Range List, FacetWP, GP File Upload Pro, Gravity Forms Zero Spam, OMGF, iQ Block Country, Kadence WooCommerce Email Designer, Max Mega Menu - Pro Addon, Max Mega Menu, PixelYourSite Pinterest, PixelYourSite PRO, Post SMTP, Really Simple SSL, Regenerate Thumbnails, WooCommerce Send Emails, Sezzle WooCommerce Payment, ShortPixel Adaptive Images, Simple History, Temporary Login Without Password, TI WooCommerce Wishlist, TP Product Image Flipper for Woocommerce, Tracking Code Manager, Use Any Font, Aelia Foundation Classes for WooCommerce, Aelia - Use WP Engine geolocation, Password Strength Settings for WooCommerce, Pin Payments - WooCommerce Payment Gateway, WPC Custom Related Products for WooCommerce, Woo Partial.ly, Premmerce Permalink Manager for WooCommerce, Preview E-mails for WooCommerce, Product Feed ELITE for WooCommerce, WooCommerce Random Product Sorting with Pagination, Integration for WooCommerce and Zoho, WooCommerce Print Address Labels, WooCommerce Admin Custom Order Fields, Aelia Currency Switcher for WooCommerce, WooCommerce Checkout Add-Ons, Print Invoice & Delivery Notes for WooCommerce, Follow-Up Emails, WooCommerce Stripe Gateway, Pixel Manager for WooCommerce, WooCommerce Google Analytics Pro, WooCommerce Name Your Price, WooCommerce Order Status Manager, WooCommerce Product Add-ons, WooCommerce Product Categories Selection, WooCommerce Product Search, WooCommerce Remove Product Sorting, WooCommerce Sequential Order Numbers Pro, WooCommerce Shipment Tracking, WooCommerce Shop as Customer, WooCommerce Smart Coupons, WooCommerce Table Rate Shipping, Aelia Tax Display by Country for WooCommerce, WooCommerce, WooPack for Beaver Builder, Wordfence Security, WordPress Importer, Yoast SEO Premium, Yoast SEO, WPC Smart Search, Asset CleanUp Pro: Page Speed Booster, WP Engine GeoTarget, Yoast SEO: WooCommerce, Zip - WooCommerce WordPress wp_mail Owner: /nas/content/live/sapphirestudio/wp-includes/pluggable.php WordPress wp_mail Filter(s): wp_staticize_emoji_for_email, PostsmtpMailer->get_mail_args WordPress wp_mail_from Filter(s): wordfence::fixWPMailFromAddress WordPress phpmailer_init Action(s): FUE_Sending_Mailer::set_dkim, WC_Email_New_Order->handle_multipart, WC_Email_Cancelled_Order->handle_multipart, WC_Email_Failed_Order->handle_multipart, WC_Email_Customer_On_Hold_Order->handle_multipart, WC_Email_Customer_Processing_Order->handle_multipart, WC_Email_Customer_Completed_Order->handle_multipart, WC_Email_Customer_Refunded_Order->handle_multipart, WC_Email_Customer_Invoice->handle_multipart, WC_Email_Customer_Note->handle_multipart, WC_Email_Customer_Reset_Password->handle_multipart, WC_Email_Customer_New_Account->handle_multipart, WC_SC_Email_Coupon->handle_multipart, WC_SC_Combined_Email_Coupon->handle_multipart, WC_SC_Acknowledgement_Email->handle_multipart, WC_Stripe_Email_Failed_Renewal_Authentication->handle_multipart, WC_Stripe_Email_Failed_Preorder_Authentication->handle_multipart, WC_Stripe_Email_Failed_Authentication_Retry->handle_multipart, PostsmtpMailer->phpmailer_smtp_init Postman: 2.1.8 Postman Sender Domain (Envelope|Message): sapphirestudiosdesign.com | sapphirestudiosdesign.com Postman Prevent Message Sender Override (Email|Name): Yes | Yes Postman Active Transport: SMTP (smtp:tls:login://smtp.office365.com:587) Postman Active Transport Status (Ready|Connected): Yes | Yes Postman Deliveries (Success|Fail): 64040 | 1079 Postman Stealth Mode: Yes
Can you disable the Wordfence and then check? seems like it’s a plugin conflict.
Let me know if its works.
Thanks
Thanks for advising.
I have disabled as advised and the issue still persists, diagnostic below with wordfence disabled.Mailer: postsmtp HostName: sapphirestudiosdesign.com cURL Version: 7.74.0 OpenSSL Version: OpenSSL/1.1.1n OS: Linux pod-120426:apache2_80:254 5.4.0-1072-gcp #77~18.04.1-Ubuntu SMP Wed Apr 13 07:49:40 UTC 2022 x86_64 PHP: Linux 8.0.22 C PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No, zlib_encode=Yes WordPress: 6.0.2 en_US UTF-8 WordPress Theme: Beaver Builder Child Theme WordPress Plugins: Gravity Perks, Gravity Forms, WooCommerce Starshipment Order, WooCommerce Currency Switcher - Product Add-ons Integration, Aelia Shipping Pricing for Currency Switcher, Alerts for Beaver Builder, Beaver Builder Plugin (Pro Version), Beaver Themer, Ultimate Addons for Beaver Builder, PowerPack for Beaver Builder, Booster Plus for WooCommerce, Campaign Monitor for WooCommerce, Code Snippets, Duplicate Page, Easyship, Enable Media Replace, FacetWP - Beaver Builder, FacetWP - Range List, FacetWP, GP File Upload Pro, Gravity Forms Zero Spam, OMGF, iQ Block Country, Kadence WooCommerce Email Designer, Max Mega Menu - Pro Addon, Max Mega Menu, PixelYourSite Pinterest, PixelYourSite PRO, Post SMTP, Really Simple SSL, Regenerate Thumbnails, WooCommerce Send Emails, Sezzle WooCommerce Payment, ShortPixel Adaptive Images, Simple History, Temporary Login Without Password, TI WooCommerce Wishlist, TP Product Image Flipper for Woocommerce, Tracking Code Manager, Use Any Font, Aelia Foundation Classes for WooCommerce, Aelia - Use WP Engine geolocation, Password Strength Settings for WooCommerce, Pin Payments - WooCommerce Payment Gateway, WPC Custom Related Products for WooCommerce, Woo Partial.ly, Premmerce Permalink Manager for WooCommerce, Preview E-mails for WooCommerce, Product Feed ELITE for WooCommerce, WooCommerce Random Product Sorting with Pagination, Integration for WooCommerce and Zoho, WooCommerce Print Address Labels, WooCommerce Admin Custom Order Fields, Aelia Currency Switcher for WooCommerce, WooCommerce Checkout Add-Ons, Print Invoice & Delivery Notes for WooCommerce, Follow-Up Emails, WooCommerce Stripe Gateway, Pixel Manager for WooCommerce, WooCommerce Google Analytics Pro, WooCommerce Name Your Price, WooCommerce Order Status Manager, WooCommerce Product Add-ons, WooCommerce Product Categories Selection, WooCommerce Product Search, WooCommerce Remove Product Sorting, WooCommerce Sequential Order Numbers Pro, WooCommerce Shipment Tracking, WooCommerce Shop as Customer, WooCommerce Smart Coupons, WooCommerce Table Rate Shipping, Aelia Tax Display by Country for WooCommerce, WooCommerce, WooPack for Beaver Builder, WordPress Importer, Yoast SEO Premium, Yoast SEO, WPC Smart Search, Asset CleanUp Pro: Page Speed Booster, WP Engine GeoTarget, Yoast SEO: WooCommerce, Zip - WooCommerce WordPress wp_mail Owner: /nas/content/live/sapphirestudio/wp-includes/pluggable.php WordPress wp_mail Filter(s): wp_staticize_emoji_for_email, PostsmtpMailer->get_mail_args WordPress phpmailer_init Action(s): FUE_Sending_Mailer::set_dkim, WC_Email_New_Order->handle_multipart, WC_Email_Cancelled_Order->handle_multipart, WC_Email_Failed_Order->handle_multipart, WC_Email_Customer_On_Hold_Order->handle_multipart, WC_Email_Customer_Processing_Order->handle_multipart, WC_Email_Customer_Completed_Order->handle_multipart, WC_Email_Customer_Refunded_Order->handle_multipart, WC_Email_Customer_Invoice->handle_multipart, WC_Email_Customer_Note->handle_multipart, WC_Email_Customer_Reset_Password->handle_multipart, WC_Email_Customer_New_Account->handle_multipart, WC_SC_Email_Coupon->handle_multipart, WC_SC_Combined_Email_Coupon->handle_multipart, WC_SC_Acknowledgement_Email->handle_multipart, WC_Stripe_Email_Failed_Renewal_Authentication->handle_multipart, WC_Stripe_Email_Failed_Preorder_Authentication->handle_multipart, WC_Stripe_Email_Failed_Authentication_Retry->handle_multipart, PostsmtpMailer->phpmailer_smtp_init Postman: 2.1.8 Postman Sender Domain (Envelope|Message): sapphirestudiosdesign.com | sapphirestudiosdesign.com Postman Prevent Message Sender Override (Email|Name): Yes | Yes Postman Active Transport: SMTP (smtp:tls:login://smtp.office365.com:587) Postman Active Transport Status (Ready|Connected): Yes | Yes Postman Deliveries (Success|Fail): 64040 | 1079 Postman Stealth Mode: Yes
There will be a line of code in the WP Config file that may be added by any other plugin. This needs to be removed and then the Wizard run again.
code needs to be removed.
function wp_mail() {}Take a backup of your wp-config file then do.
Thanks
There is no function wp_mail() {} in the wp-config file.
Thanks for letting me know.
It turned out to be a conflict with booster plus, latest update has fixed it.
@vectorhold Great, thanks for updating us.
- The topic ‘Postman: wp_mail has been declared by another plugin or theme’ is closed to new replies.