Title: Error at edit user
Last modified: April 6, 2023

---

# Error at edit user

 *  [agenturanmut](https://wordpress.org/support/users/agenturanmut/)
 * (@agenturanmut)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/error-at-edit-user/)
 * We currently have a problem that generates a PHP error (Fatal error: Uncaught
   Error: count(): Argument #1 ($value) must be of type Countable|array, int given
   
   in /html/wordpress/wp-admin/user-edit.php on line 303), if you try to access 
   a user as store manager (with the necessary rights).WP – 6.1User Role Editor –
   Current VersionPHP8

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Vladimir Garagulya](https://wordpress.org/support/users/shinephp/)
 * (@shinephp)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/error-at-edit-user/#post-16643491)
 * Do you see the same error if deactivate URE?
 *  Thread Starter [agenturanmut](https://wordpress.org/support/users/agenturanmut/)
 * (@agenturanmut)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/error-at-edit-user/#post-16660515)
 * no, the error only occures when plugin is enabled and a user-role is selected
 *  Plugin Author [Vladimir Garagulya](https://wordpress.org/support/users/shinephp/)
 * (@shinephp)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/error-at-edit-user/#post-16661996)
 * OK. Thanks.
 * Can you show full call stack with this error message?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error at edit user’ is closed to new replies.

 * ![](https://ps.w.org/user-role-editor/assets/icon-256x256.jpg?rev=1020390)
 * [User Role Editor](https://wordpress.org/plugins/user-role-editor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-role-editor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-role-editor/)
 * [Active Topics](https://wordpress.org/support/plugin/user-role-editor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-role-editor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-role-editor/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Vladimir Garagulya](https://wordpress.org/support/users/shinephp/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/error-at-edit-user/#post-16661996)
 * Status: not resolved