iceman3333
Forum Replies Created
-
Best thanks with Short code it work
Gr Wolfgang
Hi Champ Camba
The 4 users are now members, but are still displayed under the UM Young Fishers. I have deleted the user cache. The code I tried again, have also page reloaded several times. But can not be deleted.
Hi Champ Camba,
I just tried it too, now it works again. No idea why. User have tried it the last few days and was always error. could not find any conflict with other addon.
Hope that remains now again so.Can close.
Hi Champ Camber
Here the link https://isen-fischer.de/test/
I can’t move the user to another group or delete the group.
Hello, have pasted this but still can’t delete. Has not changed.
add_action("init","um_111521_update_roles"); function um_111521_update_roles(){ $wp_roles = get_option("wp_user_roles"); $um_roles = get_option("um_roles"); foreach( $um_roles as $role_id => $role ){ if( $role == "um_jungfischer" ){ unset( $um_roles[ $role_id ] ); } } foreach( $wp_roles as $role_id => $role ){ if( $role_id == "um_jungfischer" ){ unset( $wp_roles[ $role_id ] ); } } update_option("wp_user_roles", $wp_roles ); update_option("um_roles", $um_roles ); }
Thanks for the answer, then I will wait until that comes and until then look for solution.
Best Regards
WolfgangHi Champ, have the same error , what exactly do I need to delete.
a:5:{i:0;s:13:”custom_role_1″;i:1;s:6:”member”;i:2;s:5:”admin”;i:3;s:11:”jungfischer”;i:4;s:8:”aufseher”;}
Jungfischer is corrupt.
Gr Wolfgang
So with User Role Editor I have renamed the two groups again but they are not displayed at UM.
Hi Champ
Yes I have, but the two fields are also empty there
i have no solution.
there is already a solution
Sorry, now is open
Hi
The scrennshot, the bottom two are UM rols and are no longer displayed
- This reply was modified 3 years, 1 month ago by iceman3333.
well I found the error. is a Prob from PHP 7.4. you do not need some instructions than it works again.
Hello, Champ Camba
i have now tried this. All plugins turned off except Elementor and El pro . Has not changed. I have on my other sites the same plugins and also the OceanWp theme and there is no problem.Gr Wolfgang