• Resolved champton20

    (@champton20)


    I have a custom function that allows users in a certain group to impersonate other users so they can place orders for them. Upon impersonation, I add the user to be impersonated to a group that have access to a certain page. After updating to WP 5.9, the page no longer shows. I do this programmatically with:

    Groups_User_Group::create( array( ‘user_id’ => $user_id, ‘group_id’ => 5 ) );

    Have you seen this behavior recently? Any insight you may be able to give?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter champton20

    (@champton20)

    Also, I am using Divi Theme.

    Hi champton20,

    Sorry but we haven’t noticed anything similar with the latest version of Groups, 2.16.1 or even with the previous, 2.15.0, which was the first one to be tested for compatibility with WP 5.9.

    Please compare the results of your custom implementation with the manual option of adding a user to a group. Is the user being added to the selected group when your code runs? Is there anything logged in your debug.log when your implementation is triggered?

    Kind regards,
    George

    Plugin Author Kento

    (@proaktion)

    Marking this as resolved as this seems to be related to a particular customization and not an issue attributable to Groups. Feel free to follow up if you have any questions or further info on your case.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Menu Not Showing for Group Members’ is closed to new replies.