# Site down after upgrade to 1.5.6

**URL:** https://www.patreondevelopers.com/t/site-down-after-upgrade-to-1-5-6/3233
**Category:** Wordpress Plugin
**Created:** [June 1, 2020, 9:29pm UTC](https://www.patreondevelopers.com/t/site-down-after-upgrade-to-1-5-6/3233 "2020-06-01T21:29:45Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![worker11811](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/worker11811/32/711_2.png) [@worker11811](https://www.patreondevelopers.com/u/worker11811)
#### Post date: [June 1, 2020, 9:29pm UTC](https://www.patreondevelopers.com/t/site-down-after-upgrade-to-1-5-6/3233/1 "2020-06-01T21:29:45Z")

</div>

Help! After I upgraded the Patreon plugin, all requests to my site are getting the error message “There has been a critical error on your website.”

I got this email:

> Howdy!
> 
> Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
> 
> In this case, WordPress caught an error with one of your plugins, Patreon Wordpress.
> 
> Error Details
> 
> =============
> 
> An error of type E\_ERROR was caused in line 2717 of the file /var/www/html/wp-content/plugins/patreon-connect/classes/patreon\_wordpress.php. Error message: Call to undefined method Patreon\_API::add\_post\_webhook()

---

<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: [June 1, 2020, 9:41pm UTC](https://www.patreondevelopers.com/t/site-down-after-upgrade-to-1-5-6/3233/2 "2020-06-01T21:41:17Z")

</div>

I believe you are still using Api v1 at your site or your site was marked for api v2.

The below procedure will likely work and upgrade your site to v2:

- Visit ‘Patreon settings’ menu in WP admin, click ‘Connection’ button.
- Empty all the fields that appeared - which you can
- Delete the app for your site at the below page.

> **[Patreon Platform | Patreon](https://www.patreon.com/portal/registration/register-clients)**
>
> Patreon is empowering a new generation of creators. 
> Support and engage with artists and creators as they live out their passions!

You can identify the app for this particular site by checking the ‘redirect uri’ value in the app details at the above page.

- After this, back at your site, go to ‘Patreon settings’ and click ‘Connect’ to reconnect your site to Patreon.

This will likely address that issue you have been experiencing.

---

<div class="post-metadata">

### Author: ![worker11811](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/worker11811/32/711_2.png) [@worker11811](https://www.patreondevelopers.com/u/worker11811)
#### Post date: [June 1, 2020, 10:28pm UTC](https://www.patreondevelopers.com/t/site-down-after-upgrade-to-1-5-6/3233/3 "2020-06-01T22:28:20Z")

</div>

Yes, my app was still using the v1 API. I reconnected the site to Patreon like you said and that fixed the error. Thanks!

---

<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: [June 1, 2020, 11:44pm UTC](https://www.patreondevelopers.com/t/site-down-after-upgrade-to-1-5-6/3233/4 "2020-06-01T23:44:41Z")

</div>

Great to hear. Let us know if you have any feedback on the post sync feature.

---

<div class="post-metadata">

### Author: ![noertap](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/noertap/32/2868_2.png) [@noertap](https://www.patreondevelopers.com/u/noertap)
#### Post date: [June 7, 2025, 6:33pm UTC](https://www.patreondevelopers.com/t/site-down-after-upgrade-to-1-5-6/3233/5 "2025-06-07T18:33:08Z")

</div>


