Solved: Forum + MemberPress
Quote from BerkshireFHS on January 29, 2021, 10:45 pmWe use the forum as a piece of member-protected content behind Memberpress. The forum page is a child of a parent that is protected by a rule that says only members can access that page and its children.
Everything was working perfectly but recently we’ve noticed that while members who were created before your release 1.15.9 can still access the forum, those that were created since we installed that version cannot. It’s as if those users are not being tagged as forum users when their account is created. Or at least that’s what we suspect to be the case but since most of us have accounts that go way back, we could be wrong.
Do you have any suggestions please?
One idea that occurs is to down-date the version as far as we can to see if the problem disappears and then update it again to see if it reappears. At least that would prove/disprove our theory.
Operating System: Linux Software: Apache/2.4.46 (Unix) OpenSSL/1.1.1f MySQL version: mariadb.org binary distribution v10.4.17 PHP Version: 7.4.14 PHP Max Input Vars: 1000 PHP Max Post Size: 512M GD Installed: Yes ZIP Installed: Yes Write Permissions: All right Elementor Library: Connected
WordPress Environment Version: 5.6 Site URL: https://dev.berksfhs.org Home URL: https://dev.berksfhs.org WP Multisite: No Max Upload Size: 512 MB Memory limit: 1024M Permalink Structure: /%postname%/ Language: en-GB Timezone: Europe/London Admin Email: webmaster@berksfhs.org.uk Debug Mode: Inactive
Theme Name: OceanWP Child Version: 1.0 Author: Nick Child Theme: Yes Parent Theme Name: OceanWP Parent Theme Version: 2.0.2 Parent Theme Author: Nick
We use the forum as a piece of member-protected content behind Memberpress. The forum page is a child of a parent that is protected by a rule that says only members can access that page and its children.
Everything was working perfectly but recently we’ve noticed that while members who were created before your release 1.15.9 can still access the forum, those that were created since we installed that version cannot. It’s as if those users are not being tagged as forum users when their account is created. Or at least that’s what we suspect to be the case but since most of us have accounts that go way back, we could be wrong.
Do you have any suggestions please?
One idea that occurs is to down-date the version as far as we can to see if the problem disappears and then update it again to see if it reappears. At least that would prove/disprove our theory.
Operating System: | Linux | |
Software: | Apache/2.4.46 (Unix) OpenSSL/1.1.1f | |
MySQL version: | mariadb.org binary distribution v10.4.17 | |
PHP Version: | 7.4.14 | |
PHP Max Input Vars: | 1000 | |
PHP Max Post Size: | 512M | |
GD Installed: | Yes | |
ZIP Installed: | Yes | |
Write Permissions: | All right | |
Elementor Library: | Connected |
WordPress Environment | ||
---|---|---|
Version: | 5.6 | |
Site URL: | https://dev.berksfhs.org | |
Home URL: | https://dev.berksfhs.org | |
WP Multisite: | No | |
Max Upload Size: | 512 MB | |
Memory limit: | 1024M | |
Permalink Structure: | /%postname%/ | |
Language: | en-GB | |
Timezone: | Europe/London | |
Admin Email: | webmaster@berksfhs.org.uk | |
Debug Mode: | Inactive |
Theme | ||
---|---|---|
Name: | OceanWP Child | |
Version: | 1.0 | |
Author: | Nick | |
Child Theme: | Yes | |
Parent Theme Name: | OceanWP | |
Parent Theme Version: | 2.0.2 | |
Parent Theme Author: | Nick |
Quote from qualmy91 on January 30, 2021, 11:41 amHey @berkshirefhs,
what exactly is it showing for new users?
Can you please also check the forum role in the admin area -> “Users” and check the column “Forum Role”.
It would be also helpful to check the debug log:
https://help.dreamhost.com/hc/en-us/articles/360029327771-Enabling-the-WordPress-Debug-log
After activating try to register a new user and access the forum page.
Hey @berkshirefhs,
what exactly is it showing for new users?
Can you please also check the forum role in the admin area -> “Users” and check the column “Forum Role”.
It would be also helpful to check the debug log:
https://help.dreamhost.com/hc/en-us/articles/360029327771-Enabling-the-WordPress-Debug-log
After activating try to register a new user and access the forum page.
Quote from BerkshireFHS on January 30, 2021, 3:10 pmWhen a new user logs in and tries to access the forum menu item they get a message that it’s protected content and they need to log in, but they already are.
No error is thrown and the new user is assigned a forum role of “User”
Strangely, the test user I created yesterday and who could not access the forum yesterday, can today – with no changes having been made.
I will wait 24 hours. If the user created today can access it tomorrow I will talk to MemberPress because it’s their plugin that manages membership.
When a new user logs in and tries to access the forum menu item they get a message that it’s protected content and they need to log in, but they already are.
No error is thrown and the new user is assigned a forum role of “User”
Strangely, the test user I created yesterday and who could not access the forum yesterday, can today – with no changes having been made.
I will wait 24 hours. If the user created today can access it tomorrow I will talk to MemberPress because it’s their plugin that manages membership.
Quote from qualmy91 on February 1, 2021, 2:51 amHey @berkshirefhs,
it sounds a bit like a caching problem. Can you please check that caching plugins are deactivated for these pages. It could also help to deactivate caching for logged in users.
Hey @berkshirefhs,
it sounds a bit like a caching problem. Can you please check that caching plugins are deactivated for these pages. It could also help to deactivate caching for logged in users.
Quote from BerkshireFHS on February 1, 2021, 9:41 amWe don’t use any caching. We’ve tried but it causes more problems than it’s worth. And I have cleared the browser cache.
That new user could NOT access the content the next day so I have raised it with MemberPress
We don’t use any caching. We’ve tried but it causes more problems than it’s worth. And I have cleared the browser cache.
That new user could NOT access the content the next day so I have raised it with MemberPress
Quote from BerkshireFHS on February 2, 2021, 2:17 pmAaah. Problem solved
There was an additional layer of security on teh page – an artifact from over a year ago, that had suddenly sprung to life.
Aaah. Problem solved
There was an additional layer of security on teh page – an artifact from over a year ago, that had suddenly sprung to life.