Strange wp-admin problem for all users/adminstrators except the original one?

I don't get this but for all wp admin users except the original main user i get a strange error which causes the visual editor to fail:

load-scripts.php?c=0load[]=hoverIntent,common,admin-bar,jquery-ui-draggable,jquery-ui-button,jquery-ui-position,jquery-ui-dialog,heartbeat,autosave,suggestload[]=,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,underscore,wload[]=ord-count,post,editor-expand,thickbox,shortcode,backbone,wp-util,wp-backbone,media-models,wp-plupload,wp-mediaelement,wp-api-reqload[]=uest,media-views,media-editor,media-audiovideo,mce-view,imgareaselect,image-edit,svg-painter,wp-auth-checkver=4.9.5:690 Uncaught TypeError: Cannot read property 'hasClass' of undefined
    at HTMLDocument.anonymous (load-scripts.php?c=0load[]=hoverIntent,common,admin-bar,jquery-ui-draggable,jquery-ui-button,jquery-ui-position,jquery-ui-dialog,heartbeat,autosave,suggestload[]=,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,underscore,wload[]=ord-count,post,editor-expand,thickbox,shortcode,backbone,wp-util,wp-backbone,media-models,wp-plupload,wp-mediaelement,wp-api-reqload[]=uest,media-views,media-editor,media-audiovideo,mce-view,imgareaselect,image-edit,svg-painter,wp-auth-checkver=4.9.5:690)
    at HTMLDocument.dispatch (load-scripts.php?c=0load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-sortable,moxiejs,load[]=pluploadver=4.9.5:3)
    at HTMLDocument.r.handle (load-scripts.php?c=0load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-sortable,moxiejs,load[]=pluploadver=4.9.5:3)
    at Object.trigger (load-scripts.php?c=0load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-sortable,moxiejs,load[]=pluploadver=4.9.5:3)
    at Object.a.event.trigger (load-scripts.php?c=0load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-sortable,moxiejs,load[]=pluploadver=4.9.5:9)
    at HTMLDocument.anonymous (load-scripts.php?c=0load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-sortable,moxiejs,load[]=pluploadver=4.9.5:3)
    at Function.each (load-scripts.php?c=0load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-sortable,moxiejs,load[]=pluploadver=4.9.5:2)
    at a.fn.init.each (load-scripts.php?c=0load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-sortable,moxiejs,load[]=pluploadver=4.9.5:2)
    at a.fn.init.trigger (load-scripts.php?c=0load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-sortable,moxiejs,load[]=pluploadver=4.9.5:3)
    at Object.anonymous (load-scripts.php?c=0load[]=hoverIntent,common,admin-bar,jquery-ui-draggable,jquery-ui-button,jquery-ui-position,jquery-ui-dialog,heartbeat,autosave,suggestload[]=,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,underscore,wload[]=ord-count,post,editor-expand,thickbox,shortcode,backbone,wp-util,wp-backbone,media-models,wp-plupload,wp-mediaelement,wp-api-reqload[]=uest,media-views,media-editor,media-audiovideo,mce-view,imgareaselect,image-edit,svg-painter,wp-auth-checkver=4.9.5:48)

I have given All users (4) the same role administrator, but only the "main" user with Amdinistrator rol has the correct visual editor.

Now with some trial and error i notice selecting the button 'Disable the visual editor when writing' for an user the visual editor seem to appear correctly. I know the qtranslate has been edited as it doesn't work with WP 4.9.x anymore. But how can i check the qtranslate files for specific conditional statements for Administrator user

My conclusion is the old plugin qtranslate causes the problem, how can i make it to work with the other users as well???

"documentBaseUrl" is set for Administrator user but not for all other users?

Is it possible to add Adminstrator role to another user so I have 2??

Any tips?

(btw: stuck to WP 4.9.5)

Topic plugin-qtranslate tinymce visual-editor wp-admin Wordpress

Category Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.