Can’t change user or role capabilities
-
Using the most recent version, trying to add capabilities to a user, or add capabilities to a role, results in a critical error, see below.
thrown in /var/www/…/htdocs/wp-content/plugins/user-role-edit” while reading response header from upstream, client: 197.237.117.72, server: www…..com, request: “POST /wp-admin/users.php?page=users-user-role-editor.php HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php/php74-fpm-….com.sock:”, host: “www…..com”, referrer: “https://www…..com/wp-admin/users.php?page=users-user-role-editor.php”
2021/01/11 16:04:09 [error] 27725#27725: *460963 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined method URE_Editor::update() in /var/www/….com/htdocs/wp-content/plugins/user-role-editor/includes/classes/editor.php:1203
Stack trace:
#0 /var/www/….com/htdocs/wp-content/plugins/user-role-editor/includes/classes/editor.php(1336): URE_Editor->process_user_request()
#1 /var/www/….com/htdocs/wp-content/plugins/user-role-editor/includes/classes/user-role-editor.php(653): URE_Editor->show()
#2 /var/www/….com/htdocs/wp-includes/class-wp-hook.php(287): User_Role_Editor->edit_roles()
#3 /var/www/….com/htdocs/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()
#4 /var/www/….com/htdocs/wp-includes/plugin.php(484): WP_Hook->do_action()
#5 /var/www/….com/htdocs/wp-admin/admin.php(259): do_action()
#6 /var/www/….com/htdocs/wp-admin/users.php(11): require_once(‘/var/www/……’)
#7 {main}
- The topic ‘Can’t change user or role capabilities’ is closed to new replies.