Skip to content

Conversation

@dorupetruc
Copy link
Contributor

Description (*)

Fix main.CRITICAL: Warning: foreach() argument must be of type array|object, null given in www/vendor/mageplaza/module-smtp/Model/Log.php on line 225

Manual testing scenarios (*)

  1. Magento version: 2.4.8 developer mode
  2. mageplaza/module-smtp v4.7.18
  3. Backend: Customers > select a customer > Customer Edit > Reset Password
  4. cat var/log/system.log | grep mageplaz

[2025-08-21T10:16:36.621207+00:00] main.CRITICAL: Warning: foreach() argument must be of type array|object, null given in /home/site/www/vendor/mageplaza/module-smtp/Model/Log.php on line 225 [] []

…object, null given in www/vendor/mageplaza/module-smtp/Model/Log.php on line 225
@chuccv chuccv merged commit 4f1c3fc into mageplaza:2.4 Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants