Send Invoice with SMTP get's deliverd but get notice message

Hi, I have setup SMTP and it works fine, email get deliverd but I get these errors below.
I’m running PHP 7.3.8

A PHP Error was encountered
Severity: 8192

Message: filter_var(): explicit use of FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED is deprecated

Filename: src/PHPMailer.php

Line Number: 3599

Backtrace:

File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 3599
Function: filter_var

File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 3565
Function: isValidHost

File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 2304
Function: serverHostname

File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 1421
Function: createHeader

File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 1316
Function: preSend

File: /home/nginx/domains/domain.com/public/application/modules/mailer/helpers/phpmailer_helper.php
Line: 145
Function: send

File: /home/nginx/domains/domain.com/public/application/helpers/mailer_helper.php
Line: 76
Function: phpmail_send

File: /home/nginx/domains/domain.com/public/application/modules/mailer/controllers/Mailer.php
Line: 162
Function: email_invoice

File: /home/nginx/domains/domain.com/public/index.php
Line: 325
Function: require_once

A PHP Error was encountered
Severity: 8192

Message: filter_var(): explicit use of FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED is deprecated

Filename: src/PHPMailer.php

Line Number: 3599

Backtrace:

File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 3599
Function: filter_var

File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 1850
Function: isValidHost

File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 1725
Function: smtpConnect

File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 1481
Function: smtpSend

File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 1320
Function: postSend

File: /home/nginx/domains/domain.com/public/application/modules/mailer/helpers/phpmailer_helper.php
Line: 145
Function: send

File: /home/nginx/domains/domain.com/public/application/helpers/mailer_helper.php
Line: 76
Function: phpmail_send

File: /home/nginx/domains/domain.com/public/application/modules/mailer/controllers/Mailer.php
Line: 162
Function: email_invoice

File: /home/nginx/domains/domain.com/public/index.php
Line: 325
Function: require_once

A PHP Error was encountered
Severity: 8192

Message: filter_var(): explicit use of FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED is deprecated

Filename: src/PHPMailer.php

Line Number: 3599

Backtrace:

File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 3599
Function: filter_var

File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 3565
Function: isValidHost

File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 1885
Function: serverHostname

File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 1725
Function: smtpConnect

File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 1481
Function: smtpSend

File: /home/nginx/domains/domain.com/public/vendor/phpmailer/phpmailer/src/PHPMailer.php
Line: 1320
Function: postSend

File: /home/nginx/domains/domain.com/public/application/modules/mailer/helpers/phpmailer_helper.php
Line: 145
Function: send

File: /home/nginx/domains/domain.com/public/application/helpers/mailer_helper.php
Line: 76
Function: phpmail_send

File: /home/nginx/domains/domain.com/public/application/modules/mailer/controllers/Mailer.php
Line: 162
Function: email_invoice

File: /home/nginx/domains/domain.com/public/index.php
Line: 325
Function: require_once

A PHP Error was encountered
Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/nginx/domains/domain.com/public/vendor/codeigniter/framework/system/core/Exceptions.php:271)

Filename: helpers/url_helper.php

Line Number: 564

Backtrace:

File: /home/nginx/domains/domain.com/public/application/modules/mailer/controllers/Mailer.php
Line: 165
Function: redirect

File: /home/nginx/domains/domain.com/public/index.php
Line: 325
Function: require_once

I’m not sure that invoiceplne is ready for PHP 7.3

I agree, in it current status it is not ready for PHP 7.3. But with some small adjustments most things work, and until now I did not find anything that does not work as it should. Even with 7.2.22 the same issues.

@EckyBrazzz it’s not an error, it’s a notice. A not very nice notice, but a notice.
Now… the message says that a function is deprecated.

That means that it works and will not work in future versions of PHP.
So now with the next version of invoiceplane coming up we need to see those notices and solve them so we will not see the messages in the future.

Tested it some days ago with PHP7.4.0RC2, worked also (changed title into get notice message)

Only have to wait until 28 november, becuase ioncube is not integrated yet. Can be they release it sooner, just as ioncube wants to do with Fedora.