Skip to content
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

Null deprecation in mail #3706

Open
kiatng opened this issue Dec 21, 2023 · 1 comment
Open

Null deprecation in mail #3706

kiatng opened this issue Dec 21, 2023 · 1 comment
Labels
bug PHP 8 Related to PHP8

Comments

@kiatng
Copy link
Collaborator

kiatng commented Dec 21, 2023

I have this error in the log:

    [type] => 8192:E_DEPRECATED
    [message] => strtr(): Passing null to parameter #1 ($string) of type string is deprecated
    [file] => .../vendor/shardj/zf1-future/library/Zend/Mail.php
    [line] => 1223

Probably from

public function sendEmail($notifyCustomer = true, $comment = '')

Preconditions (*)

  1. PHP8

Steps to reproduce (*)

  1. Not sure how

Expected result (*)

  1. [Screenshots, logs or description]

Actual result (*)

  1. [Screenshots, logs or description]
@kiatng kiatng added bug PHP 8 Related to PHP8 labels Dec 21, 2023
@fballiano
Copy link
Contributor

did it happen again? do you have more info like a backtrace?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug PHP 8 Related to PHP8
Projects
None yet
Development

No branches or pull requests

2 participants