-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP 7.3, "filter_var(): explicit use of FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED is deprecated" #1572
Comments
Already fixed in master |
This error is also shown to me when I send an email. |
Like the thread already says, this has been fixed. Update your PHPMailer. |
My version is the last stable (6.0.7) and the problem are still there. |
The |
Sorry for my complain. |
in my composer.json is
how did you force composer to use the new version? well, and we use php 7.4 |
Change your composer.json to:
Then update (just PHPMailer) using |
Problem description
PHP 7.3 (Release Candidate 3),
PHPMailer->send() causes "filter_var(): explicit use of FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED is deprecated"
Code to reproduce
use PHP 7.3, PHPMailer->send();
Debug output
filter_var(): explicit use of FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED is deprecated
Reference
https://wiki.php.net/rfc/deprecations_php_7_3#filter_flag_scheme_required_and_filter_flag_host_required
The text was updated successfully, but these errors were encountered: