Quantcast
Channel: WordPress.org Forums » [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin] Support
Viewing all articles
Browse latest Browse all 5006

Deprecated use of baseconverion

$
0
0

Replies: 0

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 270

That 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 all articles
Browse latest Browse all 5006

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>