• Hello – I’ve been using this plugin regularly for nearly 2 years now, and it’s been perfect until the last update. Now the CSV’s are empty, no data. I’ve checked this on latest WP and older versions.

    Thanks!

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

    (@sevans917)

    I also tried on sites running PHP version 7.4, and then 8.1.

    With 8.1 on staging, I get an error after clicking the RUN EXPORT button:

    This site can’t be reached–The webpage at /wp-admin/users.php?page=uewm_settings might be temporarily down or it may have moved permanently to a new web address.

    Unsure if this is part of the problem or not. What’s the latest version of PHP that your plugin supports? I’d like to go to 8.1 on the live site but things aren’t looking so good where this plugin is concerned.

    Thanks.

    Plugin Author Daniel Loureiro

    (@loureirorg)

    Thanks for the report, @sevans917.

    What’s the latest version of PHP that your plugin supports?

    PHP 7.4. I had checked this before, but to make sure, I just double-checked this. I installed the latest version of the plugin on a website that runs PHP 7.4. It generated the file without issues.

    Now the CSV’s are empty, no data

    What’s the size of the generated file? Zero bytes?

    it’s been perfect until the last update

    I changed the library that handles the CSV. I wonder if it is related to the issue.

    What happens when you export with these settings:
    1) Roles: empty, Columns: empty, Use custom field: unchecked
    2) Same as 1, but with one single role

    Thread Starter sevans917

    (@sevans917)

    @loureirorg – thanks for the follow up.

    With PHP 7.4, exports are empty (0kb) with these tests.
    1) Roles: empty, Columns: empty, Use custom field: unchecked
    2) Same as 1, but with one single role

    Can’t test PHP 8.1 at the moment.

    Plugin Author Daniel Loureiro

    (@loureirorg)

    @sevans917 – Thanks, this helps to track down the problem.

    Interesting that the PHP error (“might be temporarily down”) only happens when you press the button, which is when the CSV library is called for the first time.

    I think it is something related to the CSV library. Another change I did was to use a temp file instead of using the memory – that was due to a limitation on the library. I wonder if your system can’t create temp files.

    I will work on the issue this weekend. I will let you know how it goes.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Empty exports after update to 0.6.10’ is closed to new replies.