• Resolved giggles420

    (@gigglesslut420)


    These warnings appear in error log and seem to occur when an email is sent from the website

    [27-Feb-2023 13:01:08 UTC] PHP Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /public_html/wp-content/plugins/post-smtp/Postman/Postman-Mail/PostmanEmailAddress.php on line 19
    [27-Feb-2023 13:01:08 UTC] PHP Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /public_html/wp-content/plugins/post-smtp/Postman/Postman-Mail/PostmanEmailAddress.php on line 19
    [27-Feb-2023 13:01:08 UTC] PHP Deprecated: Return type of Postman_Zend_Registry::offsetExists($index) should either be compatible with ArrayObject::offsetExists(mixed $key): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /public_html/wp-content/plugins/post-smtp/Postman/Postman-Mail/Zend-1.12.10/Registry.php on line 204
    [27-Feb-2023 13:01:08 UTC] PHP Deprecated: Return type of Requests_Cookie_Jar::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /public_html/wp-includes/Requests/Cookie/Jar.php on line 63
    [27-Feb-2023 13:01:08 UTC] PHP Deprecated: Return type of Requests_Cookie_Jar::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /public_html/wp-includes/Requests/Cookie/Jar.php on line 73
    [27-Feb-2023 13:01:08 UTC] PHP Deprecated: Return type of Requests_Cookie_Jar::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /public_html/wp-includes/Requests/Cookie/Jar.php on line 89
    [27-Feb-2023 13:01:08 UTC] PHP Deprecated: Return type of Requests_Cookie_Jar::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /public_html/wp-includes/Requests/Cookie/Jar.php on line 102
    [27-Feb-2023 13:01:08 UTC] PHP Deprecated: Return type of Requests_Cookie_Jar::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /public_html/wp-includes/Requests/Cookie/Jar.php on line 111
    [27-Feb-2023 13:01:08 UTC] PHP Deprecated: http_build_query(): Passing null to parameter #2 ($numeric_prefix) of type string is deprecated in /public_html/wp-includes/Requests/Transport/cURL.php on line 345
    [27-Feb-2023 13:01:08 UTC] PHP Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 40
    [27-Feb-2023 13:01:08 UTC] PHP Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 51
    [27-Feb-2023 13:01:08 UTC] PHP Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 68
    [27-Feb-2023 13:01:08 UTC] PHP Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 82
    [27-Feb-2023 13:01:08 UTC] PHP Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 91
    [27-Feb-2023 13:01:08 UTC] PHP Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /public_html/wp-content/plugins/post-smtp/Postman/Postman-Mail/PostmanEmailAddress.php on line 19
    [27-Feb-2023 13:01:12 UTC] PHP Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /public_html/wp-content/plugins/post-smtp/Postman/PostmanLogFields.php on line 148

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support M Haseeb

    (@haseeb0001)

    @gigglesslut420 Hi,

    I hope you are doing well.

    Please share the Post SMTP diagnostic test report so I can reproduce this on our staging websites.

    Thanks

    Thread Starter giggles420

    (@gigglesslut420)

    Mailer: phpmailercURL Version: 7.88.1OpenSSL Version: OpenSSL/1.1.1tOS: Linux vm2595.tmdcloud.com 3.10.0-1160.2.2.el7.x86_64 #1 SMP Tue Oct 20 16:53:08 UTC 2020 x86_64PHP: Linux 8.1.16 CPHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No, zlib_encode=YesWordPress: 6.1.1 en_US UTF-8WordPress Theme: xn2020WordPress Plugins: Ad Inserter Pro, AddToAny Share Buttons, Advanced Database Cleaner, Advanced Random Posts Widget, Autoptimize, Honeypot for Contact Form 7, Contact Form 7, Disable Lazy Load, Disqus Conditional Load Pro, Enable Media Replace, GD Rating System, Image Regenerate & Select Crop, Imagify, Index WP MySQL For Speed, Jetpack, Permalink Manager Lite, Post SMTP, Redirection, Relevanssi, Optimize Database after Deleting Revisions, Schema & Structured Data for WP & AMP, Search Meter, Surbma | Divi Remove Project CPT, UpdraftPlus – Backup/Restore, W3 Total Cache, WebP Express, Widget Options, Wordfence Security, Yoast SEO, Super Page Cache for Cloudflare, WP External Links, WP-PageNavi, WP Sitemap Page, WPS Hide Login, XN RelatedWordPress wp_mail Owner: /home/xxxtrana/public_html/wp-includes/pluggable.phpWordPress wp_mail Filter(s): PostsmtpMailer->get_mail_argsWordPress wp_mail_from Filter(s): wordfence::fixWPMailFromAddressWordPress phpmailer_init Action(s): wpcf7_phpmailer_initPostman: 2.4.3Postman Prevent Message Sender Override (Email|Name): No | NoPostman Active Transport: Gmail API (https:oauth2://www.googleapis.com:443)Postman Active Transport Status (Ready|Connected): Yes | YesPostman Deliveries (Success|Fail): 2879 | 12Postman Email Log (Enabled|Limit|Transcript Size): Yes | 100 | 128Postman PHP LogLevel: 2147483647


    (domain and hostname removed)

    Plugin Support M Haseeb

    (@haseeb0001)

    @gigglesslut420 Thanks, let me reproduce it and get back to you shortly.

    Plugin Support M Haseeb

    (@haseeb0001)

    Hi @gigglesslut420 ,

    Hope you are doing good. The logs mentioned appear as depreciation notices in PHP version 8.1 and greater. You can ignore them now and continue with the POST SMTP functionality with 8.1(as these are not warnings or errors). We may push an update for this in a future release, but we can not share any expected date for now.

    Thanks and regards,
    Support Team – WPExperts

    Plugin Support M Haseeb

    (@haseeb0001)

    @gigglesslut420 Hi,

    We have updated the code for PHP 8.1; please download the Beta version from here; you can verify on your end if everything is working as expected, and let me know.

    Thanks

    Plugin Support M Haseeb

    (@haseeb0001)

    Hi @gigglesslut420 ,

    Hope you are doing good. We have updated the code for PHP 8.1 compatibility in the latest stable version. You can update the plugin to get your issue resolved.

    Do let us know if there is anything else we can help you with.

    Thanks and regards,
    Support Team – WPExperts

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘PHP warnings with current version of plugin and PHP 8.1’ is closed to new replies.