-
Notifications
You must be signed in to change notification settings - Fork 5
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
Invalid argument supplied for foreach #114
Comments
Line 13 of class-mail.php is an import statement? use wpsimplesmtp\Log; I'm also not able to replicate the bug on my test copy of 1.3.1. Perhaps a screenshot of the error will help to collaborate the issue? There's a foreach statement in |
Sorry, I made a typo. The error is on line 135. |
No worries - looks like the error will be coming from the attachment segment. Will run some trials when time permits. |
It actually didn't strike me that an issue on line 13 could've been 135... Ahh, it's been a long day. |
I can't reproduce that anymore. |
I still get some warnings on a website using the latest available version of WordPress (6.2) and Simple SMTP (1.3.2.2). On this website, the logs are enabled. Here are the related warnings:
|
What WordPress, PHP and Simple SMTP versions are you using?
e.g. WordPress 5.6, PHP 7.3, Simple SMTP 1.0.0. The more, the better.
Describe the bug
In src/mail/class-mail.php on line 13
Steps to reproduce
The text was updated successfully, but these errors were encountered: