Forums

ERROR USING JOOLMLA USER SAVE ACTION

atanunu 11 Jul, 2019
Please, I get ERROR 1048 (Column 'user_id' cannot be null) When I attempt to create USERS using the SAVE USER action.

The USER is created but the group information is not included.

Thanks for your swift action.
Max_admin 15 Jul, 2019
Just tested this, no problems here, please post a screenshot of your Save user settings.

Best regards
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
atanunu 15 Jul, 2019
Please, see the screenshot below:

healyhatman 15 Jul, 2019
There you go, your group id provider is wrong. It needs to be an array of group IDs, and the syntax you've used is wrong. You'll want just {data:group} if it's an array, or if it's not use {data.split:group}
Max_admin 18 Jul, 2019
And it is not safe to get the groups ids from the data array, you should have a switch action, pass the {data:field_name} in the data provider, and set the expected value in the values box:
groupd_number:{value:[2]}
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.