Page MenuHomePhabricator

Cleanup PHP warnings
Open, Needs TriagePublic

Description

Cleanup code so following warnings no longer appear in the error log

[25-Jul-2020 16:45:52 Europe/Amsterdam] PHP Warning:  Invalid argument supplied for foreach() in /var/www/wikiportret.nl/public/common/formfunctions.php on line 25
[25-Jul-2020 16:45:52 Europe/Amsterdam] PHP Warning:  Invalid argument supplied for foreach() in /var/www/wikiportret.nl/public/images/single.php on line 171
[25-Jul-2020 16:50:15 Europe/Amsterdam] PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /var/www/wikiportret.nl/public/common/formfunctions.php on line 156

Event Timeline

Mbch331 created this task.Sat, Aug 1, 9:20 AM
Peachey88 updated the task description. (Show Details)Sat, Aug 1, 12:52 PM
Mbch331 claimed this task.Sat, Aug 1, 8:25 PM