@jmric,
Good evening, try to import users without role column and do not mark any role in the import screen.
I have just seen the code and this should do the trick.
Thread Starter
jmric
(@jmric)
it is not possible not to select a role in the import screen
@jmric,
Good morning, I have just updated the plugin to make it possible.
Update, test and tell me.
Thread Starter
jmric
(@jmric)
Hi
it works but the first time I créate a new user I have this message (but the user is créated)
Notice: Undefined index: role in C:\wamp\www\wordpress\wp-content\plugins\import-users-from-csv-with-meta\import-users-from-csv-with-meta.php on line 315
and
Warning: implode(): Invalid arguments passed in C:\wamp\www\wordpress\wp-content\plugins\email-subscribers\includes\db\class-es-db-contacts.php on line 303
the file has this format
Username Email first_name last_name Password
fffff [email protected] Coucou yyyyuyy xxxx
if I make a 2nde imprtation of the same file, I have no more error messagge
thanks
@jmric,
I have to improve the code to avoid problems using “no roles”.
Anyway it is working 🙂
I will update the plugin to solve this notice and this warning.
Please consider leaving a good review or sending a little donation to help us to make it better.
Kind regards,
Javier
I have just update the plugin to avoid the first notice you get.
The warning is created by another plugin. Tell them.
I have just seen, thank you very much 🙂
It is a pleasure to do a good job for the community.