Page 1 of 1

MAMS – “invalid parameters” when adding group

Posted: Mon Feb 07, 2022 7:51 pm
by 10010110
I imported two user groups from a FrontEndUsers export without issues but a third one doesn’t show up. Creating a group manually results in “Invalid Parameters” showing up as red text. I have a user property of type “text” called “name” and prompt “Name”.

The import brings up a lot of warnings in the error log:
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ~/modules/MAMS/action.admin_importgroup.php on line 149
Stack trace:
PHP 1. {main}() ~/admin/moduleinterface.php:0
2. MAMS->DoActionBase() ~/admin/moduleinterface.php:74
3. MAMS->DoAction() ~/lib/classes/class.CMSModule.php:1479
4. MAMS->DoAction() ~/modules/MAMS/MAMS.module.php:710
This comes up about ten times, referring to different lines in action.admin_importgroup.php each time.

And one is
Notice: Undefined index: name in ~/modules/MAMS/action.admin_importgroup.php on line 238
What’s happening?