Title: Double registration (cache issue?)
Last modified: July 18, 2023

---

# Double registration (cache issue?)

 *  Resolved [islp](https://wordpress.org/support/users/islp/)
 * (@islp)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/double-registration-cache-issue/)
 * Hello, I use a plugin called WP-Members. Basically, this plugin lets you register
   users. Very recently, I found double user registrations for the same user. [I contacted the author of WP-Members](https://wordpress.org/support/topic/double-registration-4/#post-16903973)
   and he says there could be a cache issue. The only cache plugin I use is yours.
   That said, I red the previous post in this support forum and I have Wordfence
   too. So now I’m even more confused 🙂
   Can you help me?

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

 *  Plugin Author [OllieJones](https://wordpress.org/support/users/olliejones/)
 * (@olliejones)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/double-registration-cache-issue/#post-16906458)
 * Thanks for the defect report!
 * Working around the Wordfence defect is at the top of my to-do list.
 * I’ll take a look at WP-Members and see if I can figure something out.
 *  Thread Starter [islp](https://wordpress.org/support/users/islp/)
 * (@islp)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/double-registration-cache-issue/#post-16906485)
 * The strangest thing of all is the following: when you have a double registration(
   expecially people who have built websites since the Nineties), you immediately
   imagine something like a double click, but this happens within less than a second,
   while here the second registration arrives sometimes 10 minutes (!) later. Another
   strange thing is WP/Wp-Members doesn’t let you create two users with same name,
   username, email, etc., while it looks like here the users created are actually
   two different ones 🙂
 * Thanks for your help
 *  Plugin Author [OllieJones](https://wordpress.org/support/users/olliejones/)
 * (@olliejones)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/double-registration-cache-issue/#post-16954491)
 * Weird. This ten-minute thing sounds like the user-registration workflow might
   depend on transients.
 * Wild-idea with no actual evidence for it being true: the membership plugin creates
   a transient saying the new-user registration is in progress. It then does a few
   things over ten minutes or so to finish the registration. I dunno, maybe it sends
   a vzlidation email and waits for an answer.
 * If something goes wrong with the cache for some reason and the transient vanishes,
   the process starts over, maybe?
 * At any rate a plugin shouldn’t use a transient to keep track of that kind of 
   state. (I learned that the hard way a couple of years ago.) By the rules of WordPress’s
   persistent object caches, transients are just that: they can vanish at any time.
   Want something persistent? Put it in metadata or an option.
 * The WordPress ecosystem sure has lots of “creative” stuff in it. The internet
   pioneer of blessed memory Jon Postel spelled it out in his law. [Postel’s Law ](https://en.wikipedia.org/wiki/Robustness_principle)
   applies to everything we do in that ecosystem. “Be conservative in what you do,
   be liberal in what you accept from others”.
 *  Thread Starter [islp](https://wordpress.org/support/users/islp/)
 * (@islp)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/double-registration-cache-issue/#post-16954955)
 * I don’t know what caused the problem, but it no longer occurs. At one point I
   figured something was going wrong with the mail server. Transients never came
   to my mind.
 * I’ll let you know if it happens again: in the meantime, thanks for your time,
   patience and dedication.
 *  Plugin Author [OllieJones](https://wordpress.org/support/users/olliejones/)
 * (@olliejones)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/double-registration-cache-issue/#post-16955931)
 * Thanks for letting me know this bug is either fixed or hidden. 1.3.5 may help.

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

The topic ‘Double registration (cache issue?)’ is closed to new replies.

 * ![](https://ps.w.org/sqlite-object-cache/assets/icon-128x128.jpg?rev=2829632)
 * [SQLite Object Cache](https://wordpress.org/plugins/sqlite-object-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sqlite-object-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sqlite-object-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/sqlite-object-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sqlite-object-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sqlite-object-cache/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [conflict](https://wordpress.org/support/topic-tag/conflict/)
 * [Registration](https://wordpress.org/support/topic-tag/registration/)

 * 5 replies
 * 2 participants
 * Last reply from: [OllieJones](https://wordpress.org/support/users/olliejones/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/double-registration-cache-issue/#post-16955931)
 * Status: resolved