# Content Not Unlocking

**URL:** <https://www.patreondevelopers.com/t/content-not-unlocking/659>\
**Category:** Wordpress Plugin\
**Created:** [June 1, 2018, 6:01pm UTC](https://www.patreondevelopers.com/t/content-not-unlocking/659 "2018-06-01T18:01:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![blindwave](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@blindwave](https://www.patreondevelopers.com/u/blindwave)\
**Post date:** [June 1, 2018, 6:01pm UTC](https://www.patreondevelopers.com/t/content-not-unlocking/659/1 "2018-06-01T18:01:47Z")

</div>

Users are connecting their Patreon, but content isn’t unlocking for them. However, if they click ‘deny’ when connecting it, that fixes the issue. Users are also having to reconnect their accounts several times a month.

Also, I’m getting this error after updating to the most recent version.:

Warning: call\_user\_func\_array() expects parameter 1 to be a valid callback, class ‘Patreon\_Wordpress’ does not have a method ‘add\_privacy\_policy\_section’ in /home/blindw5/public\_html/blindwavellc.com/wp-includes/class-wp-hook.php on line 286

---

<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, 2018, 7:18pm UTC](https://www.patreondevelopers.com/t/content-not-unlocking/659/2 "2018-06-01T19:18:30Z")

</div>

Its quite surprising how you get that error with 1.1.2, which you should be on. (or, 3.0.4 for patron pro’s package).

Are you updated to last version of wordpress? 4.9.6+? That may be a reason.

…

As for Patreon content not unlocking, please go to your client details at Patreon, and make sure you copy/pasted the correct details to your site and vice versa. Also make sure no token is expired. Refresh expired tokens and re-save to your settings at the plugin admin.

---

<div class="post-metadata">

**Author:** ![blindwave](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@blindwave](https://www.patreondevelopers.com/u/blindwave)\
**Post date:** [June 4, 2018, 9:20pm UTC](https://www.patreondevelopers.com/t/content-not-unlocking/659/3 "2018-06-04T21:20:19Z")

</div>

Yes, I’m on 1.1.2 and Wordpress 4.9.6+ and still getting the error.

The other issue was indeed caused by an expired token.

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 5, 2018, 8:01pm UTC](https://www.patreondevelopers.com/t/content-not-unlocking/659/4 "2018-06-05T20:01:55Z")

</div>

That’s weird. If you can get patreon\_wordpress.php under classes/ folder and attach it here or post it to dropbox we could look into it. The function is there in 1.1.2 release on WP repo, thats for sure.

---

<div class="post-metadata">

**Author:** ![blindwave](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@blindwave](https://www.patreondevelopers.com/u/blindwave)\
**Post date:** [June 6, 2018, 9:31pm UTC](https://www.patreondevelopers.com/t/content-not-unlocking/659/5 "2018-06-06T21:31:25Z")

</div>

Here is the PHP file. Thanks.

[https://drive.google.com/open?id=14JUg5aE3MmVnjOxdPSjQ3Vy67kHDMi4s](https://drive.google.com/open?id=14JUg5aE3MmVnjOxdPSjQ3Vy67kHDMi4s)

---

<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 6, 2018, 10:25pm UTC](https://www.patreondevelopers.com/t/content-not-unlocking/659/6 "2018-06-06T22:25:46Z")

</div>

> [@blindwave](#):
>
> add\_privacy\_policy\_section

Incredibly, that function is commented out in your file.

I suggest deactivating, deleting, and reinstalling/reactivating your plugin. It will fix the problem.

---

<div class="post-metadata">

**Author:** ![blindwave](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@blindwave](https://www.patreondevelopers.com/u/blindwave)\
**Post date:** [June 20, 2018, 3:55pm UTC](https://www.patreondevelopers.com/t/content-not-unlocking/659/7 "2018-06-20T15:55:47Z")

</div>

So for the long delay in reply. Will deleting the plugin effect users that currently have their Patreon accounts linked?

---

<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 20, 2018, 5:24pm UTC](https://www.patreondevelopers.com/t/content-not-unlocking/659/8 "2018-06-20T17:24:21Z")

</div>

Deleting and reinstalling can be done safely. Nothing on your site will get affected.
