admin管理员组

文章数量:1023794

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

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

本文标签: tinymceStrange wpadmin problem for all usersadminstrators except the original one