Title: Javascript error when used in conjunction with Visual Composer
Last modified: September 1, 2016

---

# Javascript error when used in conjunction with Visual Composer

 *  Resolved [Cyril Batillat](https://wordpress.org/support/users/cyrilbatillat/)
 * (@cyrilbatillat)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-when-used-in-conjunction-with-visual-composer/)
 * Hi,
 * I encounter a Javascript error on User Role Editor admin page (/wp-admin/users.
   php?page=users-user-role-editor.php) when Visual Composer is installed.
 * The error: `Uncaught Error: Syntax error, unrecognized expression: #vc_access_rules_backend_editor/
   disabled_ce_editor` in file ure-js.js at line 657
    (I suppose the errors comes
   from the `/` in the capacity name)
 * User Role Editor version: 4.27
    Visual Composer version: 4.12
 * Is there a workaround for this?
 * Thanks for your great plugin which saved my day multiple times.
 * [https://wordpress.org/plugins/user-role-editor/](https://wordpress.org/plugins/user-role-editor/)

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

 *  Plugin Author [Vladimir Garagulya](https://wordpress.org/support/users/shinephp/)
 * (@shinephp)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-when-used-in-conjunction-with-visual-composer/#post-7681812)
 * Hi Cyril,
 * Thanks for the information and good feedback.
    I reproduced this error at my 
   development environment. I will return with a solution as I decide how to resolve
   this conflict.
 *  [Jude Pierre](https://wordpress.org/support/users/judepbizzupnet/)
 * (@judepbizzupnet)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-when-used-in-conjunction-with-visual-composer/#post-7681866)
 * This plugin seem promising but I’m having the same issue with Visual Composer.
   None of the links on the side seem to work (i.e. Add Role, Rename Role, etc.)
   because of this issue. Vladimir, I’m anxiously waiting for your update.
 *  Plugin Author [Vladimir Garagulya](https://wordpress.org/support/users/shinephp/)
 * (@shinephp)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-when-used-in-conjunction-with-visual-composer/#post-7681867)
 * I uploaded the update 4.27.1 with a fix for this issue as a development version:
   
   [https://downloads.wordpress.org/plugin/user-role-editor.zip](https://downloads.wordpress.org/plugin/user-role-editor.zip)
 * Could you test it?
 *  [Jude Pierre](https://wordpress.org/support/users/judepbizzupnet/)
 * (@judepbizzupnet)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-when-used-in-conjunction-with-visual-composer/#post-7681868)
 * Hi Vladimir, thanks for the quick update. It appears to work great now! Although
   I will test some more tomorrow. I did notice something else. When you change 
   the name of a built-in WP role, it changes in the Network Admin, but when Admin
   in individual sites edit or add a user, it doesn’t show the custom name for roles.
   I’m not sure if this is how it suppose to work. Any feedback you can provide 
   is much appreciated. Thanks.
 *  Plugin Author [Vladimir Garagulya](https://wordpress.org/support/users/shinephp/)
 * (@shinephp)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-when-used-in-conjunction-with-visual-composer/#post-7681869)
 * Thanks for your help. I plan to publish v. 4.27.1 tomorrow.
 * When you rename role this change is applied to the only site where you do it.
   In order to replicate this change to other sites you need to:
    1) rename role
   at the main blog; 2) check “Apply to All Sites” after you renamed a role; 3) 
   click update. Your change should be replicated to all sites of the network after
   that.
 *  [Jude Pierre](https://wordpress.org/support/users/judepbizzupnet/)
 * (@judepbizzupnet)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-when-used-in-conjunction-with-visual-composer/#post-7681919)
 * Vladimir, thanks for the update. It works great except the custom name for roles
   only work when viewing users in Network Admin and not in WP Admin. I followed
   your instructions but same issue.
 *  Plugin Author [Vladimir Garagulya](https://wordpress.org/support/users/shinephp/)
 * (@shinephp)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-when-used-in-conjunction-with-visual-composer/#post-7681921)
 * Hi Jude,
 * It’s a very good point. Thanks.
    I re-checked the code and discovered that only
   current role capabilities are updated network wide with “Apply to All Sites” 
   option. Role name is not included into update scope currently. I will add it 
   into the next update.
 *  [Jude Pierre](https://wordpress.org/support/users/judepbizzupnet/)
 * (@judepbizzupnet)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-when-used-in-conjunction-with-visual-composer/#post-7681922)
 * Awesome! I’m looking forward to the next update.
 *  Thread Starter [Cyril Batillat](https://wordpress.org/support/users/cyrilbatillat/)
 * (@cyrilbatillat)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-when-used-in-conjunction-with-visual-composer/#post-7681930)
 * As my issue is fixed, I close this topic.
    Thanks again Vladimir.

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

The topic ‘Javascript error when used in conjunction with Visual Composer’ 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/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [js composer](https://wordpress.org/support/topic-tag/js-composer/)

 * 9 replies
 * 3 participants
 * Last reply from: [Cyril Batillat](https://wordpress.org/support/users/cyrilbatillat/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-when-used-in-conjunction-with-visual-composer/#post-7681930)
 * Status: resolved