PHP warnings with current version of plugin and PHP 8.1
-
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
- The topic ‘PHP warnings with current version of plugin and PHP 8.1’ is closed to new replies.