Groups breaks page access

Posted in

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.

Thank you!


Original Forum Post: https://wordpress.org/support/topic/groups-breaks-page-access/

One Response to Groups breaks page access

  1. George February 23, 2023 at 10:42 pm #

    Hi Ross,

    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.

    Kind regards,
    George

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share