Page 1 of 1

Please HELP!!! User Role defaulted to Subscriber after WP login

Posted: Wed Oct 23, 2024 4:07 pm
by tonymrc
After upgrading WP to v6.6.2 and WordPress w3all phpBB integration to v2.9.0 I started having this strange behavior :

- each time a User with role different than (default) Subscriber logs in WP, his role gets changed to Subscriber

I thought this might be due to version mismatch with w3all phpBB WordPress extension, so I updated also the phpBB side with the lates v2.03, but unfortunately nothing changes.

At the moment the only way to have a working user is to force the role directly in mysql via phpmyadmin :

- in wp_usermeta, wp_capabilities changed from ({s:10:"subscriber";i:1;} to a:1:{s:13:"author";b:1;})

but at a new login on WP the system changes automatically back to Subscriber

This is very impactful a I have many users with different roles than the default one (subscriber)

Thanks a lot for your support !

Re: Please HELP!!! User Role defaulted to Subscriber after WP login

Posted: Wed Oct 23, 2024 9:02 pm
by axew3
Hello: have you enabled the option
Switch the WP user to specified Group in phpBB, when Role updated in WordPress or vice versa
do you have access to the wp admin with some other user so to fix the problem?
have you set the user in phpBB to be admin then login into WP?