Hi @niccrockett
I’m sorry to heard you are facing those issues.
I just passed a note to our developers to check it in depth and fix it as soon as possible (for sure they will get it fixed in a few days because our team priorizes bug fixes over anything).
Thank you so much for your report and help us make GamiPress better!
Hi @rubengc
Thanks for passing this along! If you can, let me know what version it gets fixed in.
Also, I realized I made a mistake in my issue description. Here’s what I said in the next to last sentence:
After a Subscriber confirms the request, if I click either the “Send export link” or “Download personal data” links, it fails and is stuck at 20%.
Here’s what it should have said:
After a non-subscriber confirms the request, if I click either the “Send export link” or “Download personal data” links, it fails and is stuck at 20%.
Thanks,
Nic
-
This reply was modified 4 years, 6 months ago by
NicCrockett.
Hi @niccrockett
I just perform a test in a test install with GamiPress installed and I tried to download the user data for an user who have around 1,000 entries in GamiPress (between its user earnings and logs)
And the process was finished successfully and inside the data export all the GamiPress entries have been passed correctly so seems that the error in your site comes from another plugin or your current theme
The best way is to check it with your hosting provider to revise the PHP error logs to meet from which plugin exactly the error comes
Hope it helps!
Hi @rubengc
Thanks for taking the time to test this issue!
Based of your test description, I think you tested the wrong type of user. This might be my fault, sorry if I didn’t detail the user properly. If you still have your test site available try the following…
You’ll need BuddyPress, GamiPress, and “GamiPress – BuddyPress Intergration” plugins activated. Comment on a post in the main site, i.e. the blog. Use a name and email address that doesn’t belong to any user role for the WordPress site. In other words someone who isn’t in your user list. Now try an Export Personal Data using the email address used to post to the blog, not a user of BuddyPress or your WordPress site. You’ll need to confirm the export via the link sent to the email address. If it works like my site, you’ll confirm the export and try to either “Send export link” or “Download personal data”. At this point, it will get stuck at the 20% mark. At least, that’s what I’m seeing.
I’ve already tried deactivating all other plugins. I then activated the BuddyPress plugin and tested an Export Personal Data. With only BuddyPress activated, it functions normally. It doesn’t start failing until I activate the GamiPress and “GamiPress – BuddyPress Integration” plugins. If the email address is assigned to a user role in WordPress, it won’t fail. It only fails if the email address isn’t assigned to a user role in WordPress. This would only happen if the email address belonged to someone who commented on a post on the site and wasn’t assigned to a user role in the WordPress site.
I hope that’s a more detailed explanation of how to test and what I’m seeing to help you replicate the issue. If you have any questions, feel free to ask.
Sincerely,
NicCrockett
Hi @niccrockett
Ah yes, that was the key, a not registered user
We found from where the issue comes and we will release an update as soon as possible
The thing is that when the user is not registered, GamiPress creates an infinite loop in the export tool since is not able to find the user (because GamiPress only works with registered users)
Anyway, our team will release an update to day fixing it
Thank you so much for your detailed report and help us make GamiPress better!
Hi @rubengc
I’m glad I could help! I haven’t written any WordPress plugins, but I’ve written enough other code to understand the pain a loop can be. 🙂
Just another note to your devs. There was never any errors written to the error log, even after the loop appeared to fail. I waited long enough during one attempt that the Export Personal Data gave a message that it failed and gave me a link to retry. I don’t know if this can be fixed in GamiPress or if WordPress needs to update something on their side. Just a thought. If errors like this happen in the future, it would help narrow down where the issue was originating from.
Again, thanks for your help and I can’t wait for the update!
Thanks,
NicCrockett
Hi @niccrockett
WordPress does not report anything because it entered in an infinite loop, yes it causes the issue that never ends but in background there are not any errors for that you simply see that the export process get stopped at the porcentaje where started to export the GamiPress data
Anyway with the latest update, this was fixed and now the export ends successfully!
@rubengc
I installed and tested the latest update. Everything works now. Thanks for letting me know and quickly resolving the issue!
Sincerely,
NicCrockett
You’re welcome @niccrockett
Have a great weekend!
Hello @rubengc
Do you guys have an update for this. The same happens even if we are using Gamipress with Learndash LMS. Would also like to help out with the code if you can point me to the ticket/code-refences.
Thanks
Hi @alihs123 !
In the update it was already corrected, what happened previously is that it was blocked with the user data deleted, but with the update everything is working correctly.
Check that you have all the plugins updated and if it still gives an error, try deactivating GamiPress to see if the problem comes from GamiPress.
If disabling GamiPress keeps happening to you, then it is another plugin that is causing the problem.
Being a developer I have been trying it out the way explained above. It seems to be gamipress at this time.
My methods
– tried default theme
– disabled all plugins except gamipress
– gamipress at Version 2.2.1 and WP at latest as well.
– tried local as well as hosting (WPEngine)
Hi @alihs123 !!
I just ran a test on my WordPress and it does the export perfectly.
I recommend that you check the PHP error log and also check that GamiPress is updated to the latest version.
https://imgur.com/36ImcUz
https://imgur.com/p7L1v5T
Happy to share credentials via PM or even schedule a call to explain. I don’t see anything error logs but as soon as i deactivate gamipress the export starts working.
Hi @alihs123 !
Sorry but we only provide forum or email support.
Anyway, I have done a test in a new installation and I can’t reproduce your error, it makes the export perfectly.
I recommend that you do a test from this link that has the installation of GamiPress.
https://tastewp.com/new/?pre-installed-plugin-slug=gamipress