juergenweb / FrontendForms

A module for ProcessWire CMS to create and validate forms on the frontend easily using the Valitron library.
MIT License
15 stars 1 forks source link

Warning in module foreach loop getting requirementsLabels setting for passwords #3

Closed donatasben closed 9 months ago

donatasben commented 9 months ago

TracyDebugger reports a warning when opening module configuration admin page:

PHP Warning: foreach() argument must be of type array|object, null given in .../site/modules/FrontendForms/FrontendForms.module:2017
juergenweb commented 9 months ago

Line 2017 in the FrontendForms.module file of the current version is a comment and not a foreach loop ?!?

// DISTORTION LINES

Please press the "Refresh" button for the modules to clear the modules cache and check if the warning is gone.

donatasben commented 9 months ago

Sorry, it was for the older module version. There's no error in the newest version. My bad ☺️