PHP Deprecated: Mail.php on line 1250
-
Hello,
We are getting this in our log:
[20-Jan-2025 02:16:13 UTC] PHP Deprecated: strtr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/aaa/public_html/wp-content/plugins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Mail.php on line 1250
How can this be resolved?
Thank you
-
Hello @balvan64
We hope this message finds you well.
Thank you for reaching out to our Support team. We are saddened and concerned that you have to face this issue. I have shared the details of your concern with our technical team, and they are actively investigating the issue. I will personally update you as soon as I hear back from them.
Your patience and understanding mean a lot to us. If there is any additional information or context you believe could help in the meantime, please feel free to share it with me.
Warm regards,
Support Team – WP ExpertsHello @balvan64
Thank you so much for your patience & understanding as we worked on this issue. Unfortunately, our technical team is unable to reproduce it on our end. Could you please share the Diagnostic test report from Post SMTP as this would give us some detailed insights on replicating it on our end.
I look forward to your response & an opportunity to assist you.
Warm regards,
Support Team – WP ExpertsHello,
There you go:
Mailer: postsmtp
HostName: aaa.co.il
cURL Version: 7.61.1
OpenSSL Version: OpenSSL/1.1.1k
OS: Linux cp.aaa.co.il 4.18.0-553.36.1.el8_10.x86_64 #1 SMP Wed Jan 22 03:07:54 EST 2025 x86_64
PHP: Linux 8.1.31 C.UTF-8
PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No, zlib_encode=Yes
WordPress: 6.7.1 he_IL UTF-8
WordPress Theme: Flatsome Child
WordPress Plugins: Query Monitor, Post SMTP, Add Admin CSS, Cargo Shipping Location for WooCommerce, Classic Editor, Honeypot for Contact Form 7, Contact Form 7, Content Blocks (Custom Post Widget), Disable Cart Fragments, Disable Bloat for WordPress & WooCommerce, Duplicate Menu, Envato Market, Finale WooCommerce Deal Pages, Finale - WooCommerce Sales Countdown Timer & Discount Plugin, Flamingo, Global Content Blocks, WhatsApp Chat for WordPress / WooCommerce, Imagify, Index WP MySQL For Speed, Klaviyo, Loco Translate, One Time Login, PayPlus Payment Gateway, Perfmatters, PixelYourSite PRO, plugin load filter, Product Catalog Feed Pro by PixelYourSite, RD Order Modifier for WooCommerce, Slider Revolution, snip pro - Structured Data, ShiftNav Pro - Responsive Mobile Menu, Shortcode Empty Paragraph Fix, Hide SEO Bloat, Social Icons Widget & Block by WPZOOM, WooCommerce Thank You Page - NextMove, TWB Woocommerce Reviews, UberMenu 3 - The Ultimate WordPress Mega Menu, Product Filter by WBW, WooCommerce.com Update Manager, WooCommerce Breadcrumbs, WooCommerce Notification Premium, WooCommerce - Pipedrive CRM - Integration, WooCommerce Product Bundles, WooCommerce Product Primary Category, WooCommerce Show Attributes, WooCommerce, WBW Product Filter PRO, Yoast SEO Premium, Yoast SEO, WP Accessibility Helper, WP Cerber Security, Anti-spam & Malware Scan, WP-Cron Status Checker, WP Rocket | Ignore Query Strings, WP Rocket | Set Tablets As Mobile, WP Rocket | Change Preload Parameters, WP Rocket | Change Remove Unused CSS Parameters, WP Rocket, WP Rollback, WP-RTL, WP User Avatars, XL WooCommerce Sales Triggers, YouTube WordPress Plugin Pro by Embed Plus
WordPress wp_mail Owner: /home/aaa/public_html/wp-content/plugins/post-smtp/Postman/PostmanWpMailBinder.php
WordPress wp_mail Filter(s): PostsmtpMailer->get_mail_args
WordPress phpmailer_init Action(s): wpcf7_phpmailer_init, PostsmtpMailer->phpmailer_smtp_init
Postman: 3.0.2
Postman Sender Domain (Envelope|Message): aaa.co.il | aaa.co.il
Postman Prevent Message Sender Override (Email|Name): No | No
Postman Active Transport: Other SMTP (smtp:tls:login://smail.nethost.co.il:587)
Postman Active Transport Status (Ready|Connected): Yes | Yes
Postman Deliveries (Success|Fail): 28205 | 182Thank you
Hello,
I did not hear back, the issue persists:
[06-Feb-2025 06:44:52 UTC] PHP Deprecated: strtr(): Passing null to parameter #1 ($string) of type string is deprecated in /home/aaa/public_html/wp-content/plugins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Mail.php on line 1250
Hi sorry to jump in on this, I also have this issue and it appears to only happen when WordFence sends an email from the site.
Just curious if OP also has wordfence installed?
Email subject is ususally “[Wordfence Alert] Problems found on domain.com”
No, no Wordfence.
Hello @balvan64
Sorry for the delayed response. Unfortunately we are still unable to replicate this on our end.
However, our team is actively working to replicate it & finally fix it.
Thank you so much for your patience & understanding.
Warm regards,
Support Team – WP ExpertsHello @balvan64,
I truly appreciate your patience and understanding as we worked diligently to resolve this issue. I understand that it has taken a considerable amount of time, as we faced challenges replicating the issue on our end. However, after extensive testing across multiple server configurations, we were finally able to reproduce and identify the root cause.
I’m pleased to inform you that our technical team has successfully fixed the issue.
To apply the fix, please download and install the provided beta plugin after deactivating the current version.
Please let me know how it works for you. This will help us ensure that the fix is included in the upcoming release.
Looking forward to your response!
Warm regards,
Support Team – WP Experts
The topic ‘PHP Deprecated: Mail.php on line 1250’ is closed to new replies.