• I’m trying to import a .CSV created from an exported .CSV from this very same plugin. We have deleted users that should have their role set to “no role”. I have “Change role of users that are not present in the CSV?” set to “No role”

    Every time I run it, I get this error:

    Warning: Undefined variable $change_role_not_present_role in /wp-content/plugins/import-users-from-csv-with-meta/classes/import.php on line 940

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter guerrilladigital

    (@guerrilladigital)

    Hmm… i have Xdebug on in my local, it I think it may simply be a PHP Warning, not a fully-fledge error. Will turn that off and try again. I’ll report back.

    Thread Starter guerrilladigital

    (@guerrilladigital)

    Okay, I turned off debugging, so the orange warning error box is gone away, but there’s defintely hundreds or thousands of these warnings once it’s done:

    Warning: Undefined variable $change_role_not_present_role in /wp-content/plugins/import-users-from-csv-with-meta/classes/import.php on line 940

    Plugin Author Javier Carazo

    (@carazo)

    Yes, it seems to be a bug. A variable not declared.

    Not long ago I rewrote the entire import code to support step-by-step import, which is already done in the importer via cron, to avoid saturating the servers and soon we will also have it in the front end to avoid having to split the files.

    Thanks a lot for finding out, I’ll fix it and let you know.

    Plugin Author Javier Carazo

    (@carazo)

    Could you test the last version that I have just released and let me know?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Plugin fails when trying to import .csv’ is closed to new replies.