Hello! I had messaged on WordPress.org forums about this issue, trying to get some help. We’ve been using this plugin to restrict page access for a few years now. Recently, some users are not able to access a certain page. The page content disappears even if I remove any group restrictions as a test.
The page is: https://realestatecentre.biz/broker-exam-prep-audio-downloads
I can provide admin access or anything else needed privately.
Original Forum Post: https://wordpress.org/support/topic/groups-breaks-page-access/
Following-up here on this dedicated support topic to workout your case.
You can take further steps into testing your installation by enabling WP Debugging and check the debug.log contents for entries related to Groups plugin or any entries generated in general when you try to access the restricted page
1. As an authorised user.
2. After removing the access restrictions.
You may share a copy of your debug.log with us using ie pastebin.
Another useful step in your testing process would be to run the following query once you replace the default table prefix wp_ with the one being used in your installation:
SELECT * FROM wp_postmeta WHERE meta_key = 'groups-groups_read_post' and meta_value NOT IN (SELECT capability FROM wp_groups_capability);
This is a select query which will not alter anything in your database, but if you’re uncertain or uncomfortable with MySQL queries, then you should better run it on a staging clone of your website. The normal output should be an empty result set and any other result would presume that you have invalid postmeta.