• I have a multisite install with Visual Composer. I assign the users “Administrator” role. As soon as I enable URE, Visual Composer disappears. I have to assign the user another role, i.e. Editor, and set proper capabilities in Visual Editor Role Manager to make this work.

    It looks like enabling URE somehow changes the administrator role… Any idea how to fix this?

    Thanks

    https://www.ads-software.com/plugins/user-role-editor/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Vladimir Garagulya

    (@shinephp)

    Thanks for this information. I reproduced the issue. I will investigate it and contact you with a solution.

    URE hides ‘administrator’ role under WordPress multisite from a single site admin. It could be a possible reason of a conflict, but I’m not sure yet…

    Thread Starter Václav Greif

    (@vasikgreif)

    Thanks! Looking forward for a fix!

    Plugin Author Vladimir Garagulya

    (@shinephp)

    Try development version 4.27.2:
    https://downloads.www.ads-software.com/plugin/user-role-editor.zip

    The reason of conflict was the unexpected usage by Visual Composer of the get_editable_roles() function when it check current user roles:

    $user_roles = array_intersect( array_values( $user->roles ), array_keys( get_editable_roles() ) );

    If you prohibit for someone to assign a role to the users, it does not mean that you wish to revoke it from the users who has it already.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Visual Composer stops working’ is closed to new replies.