Deprecated use of baseconverion
-
Since upgrade to PHP 7.4 I do see the following warning in the error log:
PHP Deprecated: Invalid characters passed for attempted conversion, these have been ignored in …wp-mail-smtp/src/Providers/Mailgun/Mailer.php on line 270That line contains :
$boundary = base_convert( uniqid( ‘boundary’, true ), 10, 36 );
and PHP will warn because of the text ‘boundary’ as base_convert assumes a numeric argument.if changed to
$boundary = base_convert( uniqid( ”, true ), 10, 36 );
the warning will no longer occur.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Deprecated use of baseconverion’ is closed to new replies.