?
avatar Quy
Quy
23 Jun 2019

Steps to reproduce the issue

Go System >Global Configuration > Users
Click Save button
View PHP error log

Actual result

PHP Warning: Invalid argument supplied for foreach() in \libraries\src\Form\Form.php on line 1558

System information (as much as possible)

Occurs only in v3.9.8

avatar Quy Quy - open - 23 Jun 2019
avatar joomla-cms-bot joomla-cms-bot - change - 23 Jun 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 23 Jun 2019
avatar Quy Quy - change - 23 Jun 2019
Title
Invalid argument supplied for foreach()
[subform] Invalid argument supplied for foreach()
avatar Quy Quy - edited - 23 Jun 2019
avatar ReLater
ReLater - comment - 24 Jun 2019

Reason is the change for the subform security fix in Form.php. When the "Email Domain Options" subform object in user options is empty (no rows) we have this warning.

Please test pr #25310

avatar Quy Quy - change - 24 Jun 2019
The description was changed
avatar Quy Quy - edited - 24 Jun 2019
avatar Quy Quy - change - 24 Jun 2019
Status New Closed
Closed_Date 0000-00-00 00:00:00 2019-06-24 02:26:09
Closed_By Quy
avatar Quy Quy - close - 24 Jun 2019

Add a Comment

Login with GitHub to post a comment