• Hello,

    Thank you for developing this plugin, it’s really useful.

    I have seen lately that there’s a warning(~20 lines of the same warning) showing on the settings page where the email logs are present :

    Warning: foreach() argument must be of type array|object, string given in /REDACTED/wp-content/plugins/simple-smtp/src/log/class-log.php on line 169

    It still however shows the email log after these warnings.

    Can you please take a look at it.

    Thank you.

    Wishing you a great day !

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Casey

    (@soupbowl)

    This seems to be related to an issue reported on GitHub, specifically https://github.com/soup-bowl/wp-simple-smtp/issues/114.

    I’ve historically not been able to replicate this particular issue, and relates to an unhandled use-case some plugins have of the phpmailer instance that then presents itself strangely to the logger, throwing the warning. You may also find viewing some items in the log will not show items in the right-hand column because of it.

    Can you please let me know what plugin is dispatching an email that triggers the logged error? This will enable me to replicate the issue myself. Sadly this becomes a problem if the plugin is premium.

    Thread Starter Dan Claudiu G.

    (@dcgavril)

    Hello @soupbowl

    Thank you for your reply, the site is a WooCommerce shop using Polylang Pro for translations, Wordfence Premium for WAF. The emails are primarily from WooCommerce(orders) or from Wordfence(logins/attacks). The thing that I’ve also seen is that someone from the team had also installed https://www.ads-software.com/plugins/wp-mail-logging/ for logging emails (actually it was installed before Simple SMTP as the emails were sent before using MailPoet).

    I’ve disabled the Mail logging plugin, and MailPoet and I’ve purged the journal to see if the warnings will appear again once an email is sent out.

    I will keep you updated.

    Thank you for your time and for developing this plugin.

    Have a great day !

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.