Support » Fixing WordPress » Export Personal Data Email Not Sending – (Not Found)?

  • Hi guys,

    I’m just testing out the new GDPR tools within the latest WP update – and I’m having a small issue with the ‘Export Personal Data’ tool.

    It seems to work fine for lots of my users – I’ve tested it on a few, BUT… I have noticed that trying to use it on the admin account on one of my sites fails.

    It sends the confirmation email no problem, you can click the confirmation link, and it all looks set.

    Then, when you click the button to send the ‘Email Data’ button to send the email to the user, it fails with this message:

    An error occurred while attempting to export personal data.

    Not Found

    Now, with this being an admin account, there will be a tonne of data, comments, posts, uploads… probably thousands of entries.

    I’m guessing that might be the reason this is failing?

    Has anyone else tested it with an account with thousands of data points to export?

    Ross 🙂

    • This topic was modified 1 year, 5 months ago by  rossagrant.
    • This topic was modified 1 year, 5 months ago by  rossagrant.
Viewing 14 replies - 1 through 14 (of 14 total)
  • Maybe as a fail-safe admins are unable to delete all their data, as this could be all the site’s content, logins, the works.

    @pidengmor – it’s just an export I’m trying, not an erase.

    Works for admins on my smaller sites.

    This is a big site where it’s failing though – with thousands of pages etc.

    Wondered if the size of the export was causing a failure?

    Yes, you’re right. I just tried it on a small site and it exports the admin data fine.

    Is there anything relevant in your PHP error log after you click the button? Can you open your browser’s Network console, and look at the requests your browser is making to admin-ajax.php after you click the button? What do the responses for those say?

    Hi @iandunn,

    Thanks so much for the reply.

    Absolutely nothing showing in the php error log, but here’s a dump of the console.

    It’s over my head really – but something is causing this to throw a 404.

    Like I say, this is a very large admin account – sites I run with smaller ones and less data don’t have an issue.

    Nothing is hanging though – it’s not timing out or running out of memory by the looks of things. This error is thrown pretty quickly – and I’m on a dedicated server with plenty of overhead.

    Have a look and let me know if you have any ideas.

    Thanks 🙂

    MIGRATE: Migrate is installed, version 1.4.1

    load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:4

    POST https://www.mysite.com/wp-admin/admin-ajax.php 404 (Not Found)

    send @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:4
    ajax @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:4
    i @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,wp-pointer,svg-painter,heartbeat,wp-auth-check,thickbox,xfn&ver=0bb369e50b2a708efc8a7b691b3cdf8c:587
    (anonymous) @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,wp-pointer,svg-painter,heartbeat,wp-auth-check,thickbox,xfn&ver=0bb369e50b2a708efc8a7b691b3cdf8c:587
    i @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:2
    fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:2
    y @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:4
    c @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:4
    XMLHttpRequest.send (async)
    send @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:4
    ajax @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:4
    i @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,wp-pointer,svg-painter,heartbeat,wp-auth-check,thickbox,xfn&ver=0bb369e50b2a708efc8a7b691b3cdf8c:587
    (anonymous) @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,wp-pointer,svg-painter,heartbeat,wp-auth-check,thickbox,xfn&ver=0bb369e50b2a708efc8a7b691b3cdf8c:587
    i @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:2
    fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:2
    y @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:4
    c @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:4
    XMLHttpRequest.send (async)
    send @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:4
    ajax @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:4
    i @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,wp-pointer,svg-painter,heartbeat,wp-auth-check,thickbox,xfn&ver=0bb369e50b2a708efc8a7b691b3cdf8c:587
    (anonymous) @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,wp-pointer,svg-painter,heartbeat,wp-auth-check,thickbox,xfn&ver=0bb369e50b2a708efc8a7b691b3cdf8c:587
    i @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:2
    fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:2
    y @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:4
    c @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:4
    XMLHttpRequest.send (async)
    send @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:4
    ajax @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:4
    i @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,wp-pointer,svg-painter,heartbeat,wp-auth-check,thickbox,xfn&ver=0bb369e50b2a708efc8a7b691b3cdf8c:587
    (anonymous) @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,wp-pointer,svg-painter,heartbeat,wp-auth-check,thickbox,xfn&ver=0bb369e50b2a708efc8a7b691b3cdf8c:587
    i @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:2
    fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:2
    y @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:4
    c @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:4
    XMLHttpRequest.send (async)
    send @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:4
    ajax @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:4
    i @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,wp-pointer,svg-painter,heartbeat,wp-auth-check,thickbox,xfn&ver=0bb369e50b2a708efc8a7b691b3cdf8c:587
    (anonymous) @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,wp-pointer,svg-painter,heartbeat,wp-auth-check,thickbox,xfn&ver=0bb369e50b2a708efc8a7b691b3cdf8c:587
    i @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:2
    fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:2
    y @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:4
    c @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:4
    XMLHttpRequest.send (async)
    send @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:4
    ajax @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:4
    i @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,wp-pointer,svg-painter,heartbeat,wp-auth-check,thickbox,xfn&ver=0bb369e50b2a708efc8a7b691b3cdf8c:587
    (anonymous) @ load-scripts.php?c=1&load[]=hoverIntent,common,admin-bar,wp-pointer,svg-painter,heartbeat,wp-auth-check,thickbox,xfn&ver=0bb369e50b2a708efc8a7b691b3cdf8c:587
    dispatch @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:3
    r.handle @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,underscore,wp-util,jquery-ui-core,jquery-ui-mouse,jquery-ui&load[]=-sortable,jquery-ui-tooltip&ver=0bb369e50b2a708efc8a7b691b3cdf8c:3

    > POST https://www.mysite.com/wp-admin/admin-ajax.php 404 (Not Found)

    Huh, that’s very strange. Do you have any security plugins that have moved the wp-admin directory or anything?

    @iandunn – no, and if I manually go to that URL, it exists just fine.

    It’s all a bit bizarre.

    Anything else I could look into?

    All other exports seem to be working – just not this admin account.

    Hmmm, nothing comes to mind. You could try disabling all your plugins temporarily, and then testing if it works. If it does, you can re-activate them one by one until you isolate which plugin is causing the problem.

    It’s really odd, because I have a replica of this site, as a staging site.

    The admin account on that site exports just fine.

    It’s only the admin account on the production site, which is having this issue.

    Both are running the same plugins. The only obvious difference is the size of the data that would be exported on production, compared to staging.

    Will do some more digging and report back!

    Has there been any progress with this issue? We have the same problem with our site. FYI the erase data routine seems to work without issue.

    Thanks in advance
    Nick

    Please try this:

    Navigate to the export personal data page.
    Open the Javascript console tool in your browser.
    Select the network tab in that tool.
    Clear the log.
    Hit the export personal data link for the admin account.

    Which request 404s? The very first one? What params are being sent? You should see things like exporter (an int), page (also an int), id (the request id), action (wp-privacy-export-personal-data), etc

    Thanks for this @allendav!

    So I can see lots of calls to admin-ajax.php – and the 6th call to this hits a 404.

    Now it’s not telling me what it’s trying to grab at this point – but the first 5 requests to admin-ajax.php get a 200 response, just fine.

    The 6th gets this 404.

    Are there any security processes in place that would stop more than 5 requests to admin-ajax.php from being made?

    Just tested this theory out with another large publisher account on my site.

    This account is not an admin, but has authored 500 posts.

    Again the email times out with a 404 after the 5th call to admin-ajax.php.

    The 6th call fails, which makes me think it’s some kind of firewall/ security issue.

    Would love to hear if anyone has any ideas on this.

    @nickcadsoftuk – check your JS console, and see if you get the same thing.

    Ross 🙂

    I would appreciate hearing if you have any ideas on this as I’m having similar trouble. Thank you!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Export Personal Data Email Not Sending – (Not Found)?’ is closed to new replies.