# Login suddenly stopped working, returns "patreon\_"

**URL:** <https://www.patreondevelopers.com/t/login-suddenly-stopped-working-returns-patreon/836>\
**Category:** Wordpress Plugin\
**Created:** [July 5, 2018, 7:14pm UTC](https://www.patreondevelopers.com/t/login-suddenly-stopped-working-returns-patreon/836 "2018-07-05T19:14:22Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ricky](https://avatars.discourse-cdn.com/v4/letter/r/439d5e/32.png) [@ricky](https://www.patreondevelopers.com/u/ricky)\
**Post date:** [July 5, 2018, 7:14pm UTC](https://www.patreondevelopers.com/t/login-suddenly-stopped-working-returns-patreon/836/1 "2018-07-05T19:14:23Z")

</div>

Hi there,

I’ve been login in and out a lot today using my testing patreon account (who pledges to a specific campaign) due to development testing. Suddenly, the authentication process stopped working. One think draw my attention, though: In the top right corner of the WP page, I can see “patreon\_”. So, is missing my account ID number.

If I go to “Users” in WP, I can see the user “patreon\_” without any other information. This is the first time this issue happens to me, but it has been reported by some players already.

Any idea?

(Log-out and try again does not fix it. Issue happens in all my browsers)

WP debug.log:  
[05-Jul-2018 19:16:39 UTC] PHP Warning: array\_key\_exists() expects parameter 2 to be array, null given in /var/www/html/play/wp-content/plugins/patreon-wordpress/classes/patreon\_routing.php on line 247  
[05-Jul-2018 19:16:39 UTC] PHP Notice: Undefined variable: check\_user\_email in /var/www/html/play/wp-content/plugins/patreon-wordpress/classes/patreon\_login.php on line 178

Best,  
Ricky.

---

<div class="post-metadata">

**Author:** ![ricky](https://avatars.discourse-cdn.com/v4/letter/r/439d5e/32.png) [@ricky](https://www.patreondevelopers.com/u/ricky)\
**Post date:** [July 5, 2018, 7:41pm UTC](https://www.patreondevelopers.com/t/login-suddenly-stopped-working-returns-patreon/836/2 "2018-07-05T19:41:27Z")

</div>

Now the login process in my WP site is working again… What should be causing this? I need to discover it since my players are complaining it sometimes happens. It just happened to my and even if I am the developer I have no clue of what was causing that…

---

<div class="post-metadata">

**Author:** ![codebard](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/codebard/32/14_2.png) [@codebard](https://www.patreondevelopers.com/u/codebard)\
**Post date:** [July 6, 2018, 3:54pm UTC](https://www.patreondevelopers.com/t/login-suddenly-stopped-working-returns-patreon/836/3 "2018-07-06T15:54:07Z")

</div>

Such intermittent issues may happen due to connectivity issues in between your WP site’s host, and Patreon API. At times it may happen due to situations at Patreon API, or due to whatever situation your server at your web host may have.

In general there is no surefire solution for connectivity issues in between 2 servers in distant locations on the internet. Best to do is to monitor occurrence of such situations, and if they are occurring too frequently and if they have a pattern, bring it to the attention for support like you just did.

---

<div class="post-metadata">

**Author:** ![ricky](https://avatars.discourse-cdn.com/v4/letter/r/439d5e/32.png) [@ricky](https://www.patreondevelopers.com/u/ricky)\
**Post date:** [July 6, 2018, 8:57pm UTC](https://www.patreondevelopers.com/t/login-suddenly-stopped-working-returns-patreon/836/4 "2018-07-06T20:57:18Z")

</div>

Is just happening again, login returns “patreon\_” instead of the correct code. The plugin definitely needs to have exceptions to deal with this, to at least be able to show an error message or something.

---

<div class="post-metadata">

**Author:** ![codebard](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/codebard/32/14_2.png) [@codebard](https://www.patreondevelopers.com/u/codebard)\
**Post date:** [July 6, 2018, 10:33pm UTC](https://www.patreondevelopers.com/t/login-suddenly-stopped-working-returns-patreon/836/5 "2018-07-06T22:33:04Z")

</div>

Did you log in using your creator account, or was it a separate Patreon account?

---

<div class="post-metadata">

**Author:** ![ricky](https://avatars.discourse-cdn.com/v4/letter/r/439d5e/32.png) [@ricky](https://www.patreondevelopers.com/u/ricky)\
**Post date:** [July 6, 2018, 11:14pm UTC](https://www.patreondevelopers.com/t/login-suddenly-stopped-working-returns-patreon/836/6 "2018-07-06T23:14:05Z")

</div>

Separate account that pledges to our main page.

---

<div class="post-metadata">

**Author:** ![codebard](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/codebard/32/14_2.png) [@codebard](https://www.patreondevelopers.com/u/codebard)\
**Post date:** [July 6, 2018, 11:18pm UTC](https://www.patreondevelopers.com/t/login-suddenly-stopped-working-returns-patreon/836/7 "2018-07-06T23:18:08Z")

</div>

If possible, please arrange me an admin account (separate user/pass) to your site and mail me at [ozgur@c.patreon.com](mailto:ozgur@c.patreon.com) until tomorrow. I would like to see this on-site.

---

<div class="post-metadata">

**Author:** ![ricky](https://avatars.discourse-cdn.com/v4/letter/r/439d5e/32.png) [@ricky](https://www.patreondevelopers.com/u/ricky)\
**Post date:** [July 6, 2018, 11:28pm UTC](https://www.patreondevelopers.com/t/login-suddenly-stopped-working-returns-patreon/836/8 "2018-07-06T23:28:20Z")

</div>

It was already sent days ago…

---

<div class="post-metadata">

**Author:** ![codebard](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/codebard/32/14_2.png) [@codebard](https://www.patreondevelopers.com/u/codebard)\
**Post date:** [July 7, 2018, 8:38pm UTC](https://www.patreondevelopers.com/t/login-suddenly-stopped-working-returns-patreon/836/9 "2018-07-07T20:38:13Z")

</div>

If so, i think i sent you an email in reply, but i didnt get any response. Please check out your spam/junk folders.

---

<div class="post-metadata">

**Author:** ![ricky](https://avatars.discourse-cdn.com/v4/letter/r/439d5e/32.png) [@ricky](https://www.patreondevelopers.com/u/ricky)\
**Post date:** [July 7, 2018, 8:43pm UTC](https://www.patreondevelopers.com/t/login-suddenly-stopped-working-returns-patreon/836/10 "2018-07-07T20:43:56Z")

</div>

Sorry. I located your email and answered it.

---

<div class="post-metadata">

**Author:** ![codebard](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/codebard/32/14_2.png) [@codebard](https://www.patreondevelopers.com/u/codebard)\
**Post date:** [July 7, 2018, 11:57pm UTC](https://www.patreondevelopers.com/t/login-suddenly-stopped-working-returns-patreon/836/11 "2018-07-07T23:57:25Z")

</div>

Please delete the existing Patreon WordPress on your site (deactivate first), then upload and activate the below package with oauth error reporting and see if it sheds any light on this issue by showing an error:

> **[patreon-wordpress.zip](https://www.dropbox.com/s/pi76jyf2ciqt4wb/patreon-wordpress.zip?dl=0)**
>
> Shared with Dropbox

---

<div class="post-metadata">

**Author:** ![ricky](https://avatars.discourse-cdn.com/v4/letter/r/439d5e/32.png) [@ricky](https://www.patreondevelopers.com/u/ricky)\
**Post date:** [July 8, 2018, 12:24am UTC](https://www.patreondevelopers.com/t/login-suddenly-stopped-working-returns-patreon/836/12 "2018-07-08T00:24:28Z")

</div>

Done. It’s working fine at the moment. I’ll keep monitoring it and update the thread if I see any error (or if any of my players report an issue).

---

<div class="post-metadata">

**Author:** ![ricky](https://avatars.discourse-cdn.com/v4/letter/r/439d5e/32.png) [@ricky](https://www.patreondevelopers.com/u/ricky)\
**Post date:** [July 8, 2018, 10:13pm UTC](https://www.patreondevelopers.com/t/login-suddenly-stopped-working-returns-patreon/836/13 "2018-07-08T22:13:14Z")

</div>

Okay, I had to disable that plugin and went back to the default one. Users starting complaining about getting block by Cloud Flare. Example image attached. As soon as I disabled that plugin the CL error stopped.

 ![CF%20Error](https://canada1.discourse-cdn.com/flex036/uploads/patreondevelopers/original/1X/f825670ff8c781996288761c80d07db135ebae69.png)

---

<div class="post-metadata">

**Author:** ![ricky](https://avatars.discourse-cdn.com/v4/letter/r/439d5e/32.png) [@ricky](https://www.patreondevelopers.com/u/ricky)\
**Post date:** [July 8, 2018, 10:30pm UTC](https://www.patreondevelopers.com/t/login-suddenly-stopped-working-returns-patreon/836/14 "2018-07-08T22:30:49Z")

</div>

I got rid of the Cloud Flare error, but now any log-in attempt returns “patreon\_” for me and any of my players. Basically no one can use the plugin right now… 😤

---

<div class="post-metadata">

**Author:** ![ricky](https://avatars.discourse-cdn.com/v4/letter/r/439d5e/32.png) [@ricky](https://www.patreondevelopers.com/u/ricky)\
**Post date:** [July 8, 2018, 11:02pm UTC](https://www.patreondevelopers.com/t/login-suddenly-stopped-working-returns-patreon/836/15 "2018-07-08T23:02:58Z")

</div>

I had to put back the plugin attached by you here, because the default one was just returning “patreon\_” no matter what. Now it seems to be working at the moment (no Cloud Flare error at least); but this has been a very stressful day with a lot of players complaining.

---

<div class="post-metadata">

**Author:** ![codebard](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/codebard/32/14_2.png) [@codebard](https://www.patreondevelopers.com/u/codebard)\
**Post date:** [July 9, 2018, 12:25am UTC](https://www.patreondevelopers.com/t/login-suddenly-stopped-working-returns-patreon/836/16 "2018-07-09T00:25:38Z")

</div>

Because even if the error message from cloudflare is not displayed, that error still happens and the non-modified earlier version of plugin just doesnt show what happened. Cloudflare doesnt go away by changing plugin package or its versions.

I recommend to switch back to the new package you received so your users will know why they cant log in when they cant log in until we can do something about cloudflare on our side.

---

<div class="post-metadata">

**Author:** ![ricky](https://avatars.discourse-cdn.com/v4/letter/r/439d5e/32.png) [@ricky](https://www.patreondevelopers.com/u/ricky)\
**Post date:** [July 9, 2018, 12:27am UTC](https://www.patreondevelopers.com/t/login-suddenly-stopped-working-returns-patreon/836/17 "2018-07-09T00:27:55Z")

</div>

Yes, I’m using right now the modified plugin you attached here and, for the moment, it seems to be working. I’ll let you know if any user report something different from the Cloud Flare error.

---

<div class="post-metadata">

**Author:** ![ricky](https://avatars.discourse-cdn.com/v4/letter/r/439d5e/32.png) [@ricky](https://www.patreondevelopers.com/u/ricky)\
**Post date:** [July 9, 2018, 2:51am UTC](https://www.patreondevelopers.com/t/login-suddenly-stopped-working-returns-patreon/836/18 "2018-07-09T02:51:22Z")

</div>

Do you know if Patreon itself uses CloudFlare? Because the CloudFlare error page only appears after hitting the “ALLOW” button during the login process, and there are ZERO records in my CloudFlare firewall log. I’m starting to think that the error has nothing to do with my CloudFlare setup (that never before had any issue).  
I’m dropping here a Cloudflare Ray ID that one of my players shown me: Cloudflare Ray ID: 4376bb31d9e35e9a

---

<div class="post-metadata">

**Author:** ![codebard](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/codebard/32/14_2.png) [@codebard](https://www.patreondevelopers.com/u/codebard)\
**Post date:** [July 9, 2018, 1:47pm UTC](https://www.patreondevelopers.com/t/login-suddenly-stopped-working-returns-patreon/836/19 "2018-07-09T13:47:31Z")

</div>

Yes, CloudFlare is used in front of Patreon API.

---

<div class="post-metadata">

**Author:** ![ricky](https://avatars.discourse-cdn.com/v4/letter/r/439d5e/32.png) [@ricky](https://www.patreondevelopers.com/u/ricky)\
**Post date:** [July 10, 2018, 1:15am UTC](https://www.patreondevelopers.com/t/login-suddenly-stopped-working-returns-patreon/836/20 "2018-07-10T01:15:39Z")

</div>

“Sorry, you have been blocked” - Cloudflare Ray ID: 437f2d2f79c7b9ee

[Next page](https://www.patreondevelopers.com/t/login-suddenly-stopped-working-returns-patreon/836.md?page=2)
