Support » Plugin: User Role Editor » JS error in users.js

  • Resolved AppleRinquest

    (@red-apple)


    Hello,

    Today I create a custom user role. Then I create a new user and assign the custom user role to it. After that, I log in as a new user that I just create. After a successful login, I can access the WP dashboard and I see the JS error in the console of the Chrome inspect tool.

    TypeError: Cannot read property ‘length’ of undefined
    /wp-content/plugins/user-role-editor/js/users.js?ver=5.3.2:15

    Just report you. I don’t have any issue on my site regarding the error yet. But I think it is still good to report.

    Thank you for the awesome work.
    Apple

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

    (@shinephp)

    Hi Apple,

    Thanks for the report. Does user have ‘edit_users’ capability and sees this error when try to open “Users” page?

    Hi Vladimir,

    Unfortunately, I can not reproduce the JS error again today. The error is gone. The problem may not generate by the User Role Editor plugin. Next time, if I see this issue again, I will down in more detail.

    Thank you,
    Apple

    Plugin Author Vladimir Garagulia

    (@shinephp)

    OK. Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘JS error in users.js’ is closed to new replies.