Groups Assigning Random Group to User

When a new user is created, I always get “Registered” which is fine, but then I get random groups assigned to the user upon creation as well. I’ve tried disabling all plugin and changing the theme, but I still get random groups.

6 Responses to Groups Assigning Random Group to User

  1. George June 21, 2017 at 7:33 am #

    If it’s possible, try to repeat the test to a brand new WP installation and a brand new Groups installation.

    Cheers,
    George

  2. Ryan June 20, 2017 at 10:02 pm #

    This definitely seems like a plugin bug. I moved the database over to a new install, so no scripts running (same database though) and I still get the same issue.

  3. Ryan June 20, 2017 at 5:39 pm #

    I’ve tried that too, and it didn’t work. No hooks, I setup TwentySeventeen without any edits. I have about 250 groups and 4000 users, so I can wipe the data and start over without serious repercussions.

  4. George June 20, 2017 at 5:28 pm #

    You are welcome Ryan.

    Unless you are using any custom hook function that might interfere with the process, i would suggest you to uninstall-reinstall Groups plugin.

    Cheers,
    George

  5. Ryan June 20, 2017 at 4:25 pm #

    Thanks George. I don’t get any errors when all plugins (except Groups) are disabled and the theme is TwentySeventeen.

    It is assigning real groups, but they aren’t consistently the same.

    I appreciate your help.

  6. George June 20, 2017 at 4:15 pm #

    Hi Ryan,

    Your users get assigned to existing groups or non-existing?
    Please enable debugging and then add a new user, in case there is something logged during registration.
    To enable debugging, edit your wp-config file and replace the following line:
    define('WP_DEBUG', false);
    with these lines:
    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);

    Finally create a new file named debug.log under your wp-content folder.

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