• Resolved edrileycs

    (@edrileycs)


    For some of my team the CSV upload will fail, this appears to be intermittent. For example it may work 3 times and then fail the next 5. However, this only affects some users – others have no issues.

    I’m pretty sure the issues is not the CSV file because if it fails, anther user will be able to upload the file with no issues.

    Any ideas?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Javier Carazo

    (@carazo)

    @edrileycs,

    This plugin is working correctly in thousends of sites. So the problem will be something related about how do you manage it.

    Are you using the same csv? CSV format is correct?

    If you have problems with CSV files created using Microsoft Office, please use LibreOffice instead.

    Having a similar issue – was working up until this morning.

    Error message received – I have username and then email in the first two columns.

    Warning: Invalid argument supplied for foreach() in /home2/azstaorg/public_html/wp-content/plugins/import-users-from-csv-with-meta/importer.php on line 113

    Thank you.

    Plugin Author Javier Carazo

    (@carazo)

    @arizonanorse,

    Problem seems to be from the CSV.

    Have you tried to create it using LibreOffice?

    Thread Starter edrileycs

    (@edrileycs)

    I’m not sure you understand, the same CAV will but work for person A but will work for person B. Therefore, the CSV isn’t likely to be the issue.

    What makes LibreOffice different to Microsoft Office? It was working fine previously.

    Well, it didn’t work this morning…now it does. Same program (MS OFFICE or Mac Pages) to create csv. Strange.

    • This reply was modified 5 years, 10 months ago by CreativeRaven.
    Plugin Author Javier Carazo

    (@carazo)

    @arizonanorse,

    Good morning, it is really strange. The plugin has not changed, your file neither.

    Maybe something in your hosting? I am going to include some check in next version to throw a “good error” instead a PHP one when the CSV is not recognized by the software.

    @edrileycs,

    LibreOffice make CSV with the best format. CSV is not a “stricted format” like XLS, XLSX or ODS. CSV can use commas, tabs, colons, etc. values can be delimited by quotation marks or not, charset can change… there are plenty of posibilities.

    LibreOffice works with CSV with the best way (the one which PHP CSV parsers recognize better) and for this is the best option to avoid this kind of problems.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Intermittent upload success for some users’ is closed to new replies.