Content Not Properly Locking

Hi! I set my page to lock the content with my lowest patreon tier and I could only get it to actually lock if I also added password protection. When I have patreon limit turned on, but no password protection (what I have currently) the patreon locked content with an invite to join my patreon shows up under all of the content. I provided a link to the page I am trying to lock below. I have also added the php coding you suggested on other forumns and I am not able to get that to work either. I am getting errors and I have copied those below the link to the page (only copied a few cause they are all the same). Thanks!

==============================
0.01 days ago

Response code: 401 Response :{“errors”:[{“code”:1,“code_name”:“Unauthorized”,“detail”:“The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn’t understand how to supply the credentials required.”,“id”:“025eb0e1-59b4-42bd-92b3-6f7dcedf277c”,“status”:“401”,“title”:“Unauthorized”}]}

0.66 days ago

Response code: 204 Response :

0.66 days ago

Response code: 400 Response :{“errors”:[{“code”:null,“code_name”:“DuplicateEntity”,“detail”:“Existing client for user and parent client”,“id”:“474dccde-6738-4cc0-9e09-af72904e404d”,“status”:“400”,“title”:“Duplicate entity”}]}

0.66 days ago

Response code: 204 Response :

0.66 days ago

Response code: 401 Response :{“error”: “invalid_grant”}

0.66 days ago

Response code: 401 Response :{“error”: “invalid_grant”}

0.67 days ago

Response code: 401 Response :{“error”: “invalid_grant”}

0.67 days ago

Response code: 401 Response :{“error”: “invalid_grant”}

0.67 days ago

Response code: 401 Response :{“errors”:[{“code”:1,“code_name”:“Unauthorized”,“detail”:“The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn’t understand how to supply the credentials required.”,“id”:“5f72d47c-7d83-40a5-8631-9d4eba58c185”,“status”:“401”,“title”:“Unauthorized”}]}

0.67 days ago

Response code: 401 Response :{“error”: “invalid_grant”}

0.67 days ago

Response code: 401 Response :{“error”: “invalid_grant”}

0.67 days ago

Response code: 401 Response :{“errors”:[{“code”:1,“code_name”:“Unauthorized”,“detail”:“The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn’t understand how to supply the credentials required.”,“id”:“eed3681b-96da-41d2-b88a-bc62aeaf3849”,“status”:“401”,“title”:“Unauthorized”}]}

Can you follow this tutorial to disconnect your site from Patreon and reconnect it and see if it fixes the issue?

1 Like

Thanks for the quick response! I will try that right now :slight_smile:

Ok I did that and still no luck. And it is showing I used API V2. What’s weird is if I turn on password protect for the page, then the patreon thing works… but then after they connect with patreon they then have to enter a password. I am going to turn password protect back on for the moment.

Here are the most recent errors.

0 days ago

Response code: 204 Response :

0 days ago

Response code: 400 Response :{“errors”:[{“code”:null,“code_name”:“DuplicateEntity”,“detail”:“Existing client for user and parent client”,“id”:“8381be3c-f23d-4df7-a5d3-af2d3531848a”,“status”:“400”,“title”:“Duplicate entity”}]}

0 days ago

Response code: 204 Response :

Can you try clearing all your cookies from your web browser (or only that domain’s cookies using Web Developer extension etc), and retry.

There seems to be something installed at your site which interferes with things.

But, it can also be your cache - caching plugins, opcache or other server side caching may interfere with the process and show gated/ungated versions of the content.

Yea I tried that and also tried different web browsers in addition to having my patreons test it… I don’t have any cache plugins.

I don’t think I installed that php coding properly though so I might try that next. It is just this one page I need to block. If I install that coding will that override everything else and hopefully fix the issue? I ask cause I have to install a php plugin in order to add this.

Update! I installed XYZ php code plug in and added the snippet, put the html of the page in between, and then added the php short code to my page. Working great now! If you go this route, you need to not enable the patreon restriction on the right, otherwise u will get two unlock content blocks on the page.

1 Like

Yeah, the lock box on the right locks the entire page. If you lock partial content, that must not be on.