Backend script issue
-
Hi,
I have an issue running jQuery scripts in the backend (like showing submenus, adding a feature image etc.) on every backend page where the NextGEN Gallery is loaded. I tried disabling all the plugins and I reactiveted them one-by-one and that’s how I narrowed down the problem.
In the Chrome console I get this every time I open a page where NextGEN Gallery is loaded:
data.min.js?ver=4.4.0:1 Uncaught TypeError: Object(…) is not a function
at Module.363 (data.min.js?ver=4.4.0:1)
at r (data.min.js?ver=4.4.0:1)
at wp.data.0 (data.min.js?ver=4.4.0:1)
at data.min.js?ver=4.4.0:1
363 @ data.min.js?ver=4.4.0:1
r @ data.min.js?ver=4.4.0:1
wp.data.0 @ data.min.js?ver=4.4.0:1
(anonymous) @ data.min.js?ver=4.4.0:1
post.php?post=1559&action=edit&lang=ro&=8fd0ffd137:251 Uncaught TypeError: Cannot read property ‘use’ of undefined
at post.php?post=1559&action=edit&lang=ro&=8fd0ffd137:251
at post.php?post=1559&action=edit&lang=ro&=8fd0ffd137:254
(anonymous) @ post.php?post=1559&action=edit&lang=ro&=8fd0ffd137:251
(anonymous) @ post.php?post=1559&action=edit&lang=ro&=8fd0ffd137:254
moment.min.js?ver=2.22.2:1 Deprecation warning: use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info.
Y @ moment.min.js?ver=2.22.2:1
T @ moment.min.js?ver=2.22.2:1
ut @ moment.min.js?ver=2.22.2:1
ot @ moment.min.js?ver=2.22.2:1
(anonymous) @ post.php?post=1559&action=edit&lang=ro&=8fd0ffd137:267
keycodes.min.js?ver=2.2.0:1 Uncaught TypeError: Object(…) is not a function
at Module.382 (keycodes.min.js?ver=2.2.0:1)
at r (keycodes.min.js?ver=2.2.0:1)
at wp.keycodes.1 (keycodes.min.js?ver=2.2.0:1)
at keycodes.min.js?ver=2.2.0:1
382 @ keycodes.min.js?ver=2.2.0:1
r @ keycodes.min.js?ver=2.2.0:1
wp.keycodes.1 @ keycodes.min.js?ver=2.2.0:1
(anonymous) @ keycodes.min.js?ver=2.2.0:1
rich-text.min.js?ver=3.2.3:1 Uncaught TypeError: Cannot read property ‘combineReducers’ of undefined
at Module.361 (rich-text.min.js?ver=3.2.3:1)
at r (rich-text.min.js?ver=3.2.3:1)
at wp.richText.0 (rich-text.min.js?ver=3.2.3:1)
at rich-text.min.js?ver=3.2.3:1
361 @ rich-text.min.js?ver=3.2.3:1
r @ rich-text.min.js?ver=3.2.3:1
wp.richText.0 @ rich-text.min.js?ver=3.2.3:1
(anonymous) @ rich-text.min.js?ver=3.2.3:1
compose.min.js?ver=3.2.0:1 Uncaught TypeError: Object(…) is not a function
at compose.min.js?ver=3.2.0:1
at Module.<anonymous> (components.min.js?ver=7.3.2:19)
at n (components.min.js?ver=7.3.2:1)
at components.min.js?ver=7.3.2:1
at components.min.js?ver=7.3.2:1
(anonymous) @ compose.min.js?ver=3.2.0:1
(anonymous) @ components.min.js?ver=7.3.2:19
n @ components.min.js?ver=7.3.2:1
(anonymous) @ components.min.js?ver=7.3.2:1
(anonymous) @ components.min.js?ver=7.3.2:1
ngg-post-thumbnail.min.js:5 Uncaught TypeError: Cannot read property ‘withSelect’ of undefined
at Module.<anonymous> (ngg-post-thumbnail.min.js:5)
at r (bootstrap:19)
at bootstrap:83
at bootstrap:83
(anonymous) @ ngg-post-thumbnail.min.js:5
r @ bootstrap:19
(anonymous) @ bootstrap:83
(anonymous) @ bootstrap:83
load-scripts.php?c=0&load[]=thickbox,hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery-color,wp-lists,jquery-query,admin-comments,sugg&load[]=est,postbox,tags-suggest,tags-box,word-count,post,editor-expand,shortcode,backbone,wp-backbone,media-models,wp-plupload,wp-media&load[]=element,wp-api-request,media-views,media-editor,media-audiovideo,mce-view,imgareaselect,image-edit,svg-painter,wp-auth-check&ver=aec31907a7fd3732126ea2e7ba7d2bc4:371 Uncaught TypeError: Cannot read property ‘memoize’ of undefined
at load-scripts.php?c=0&load[]=thickbox,hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery-color,wp-lists,jquery-query,admin-comments,sugg&load[]=est,postbox,tags-suggest,tags-box,word-count,post,editor-expand,shortcode,backbone,wp-backbone,media-models,wp-plupload,wp-media&load[]=element,wp-api-request,media-views,media-editor,media-audiovideo,mce-view,imgareaselect,image-edit,svg-painter,wp-auth-check&ver=aec31907a7fd3732126ea2e7ba7d2bc4:371
at load-scripts.php?c=0&load[]=thickbox,hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery-color,wp-lists,jquery-query,admin-comments,sugg&load[]=est,postbox,tags-suggest,tags-box,word-count,post,editor-expand,shortcode,backbone,wp-backbone,media-models,wp-plupload,wp-media&load[]=element,wp-api-request,media-views,media-editor,media-audiovideo,mce-view,imgareaselect,image-edit,svg-painter,wp-auth-check&ver=aec31907a7fd3732126ea2e7ba7d2bc4:371
(anonymous) @ load-scripts.php?c=0&load[]=thickbox,hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery-color,wp-lists,jquery-query,admin-comments,sugg&load[]=est,postbox,tags-suggest,tags-box,word-count,post,editor-expand,shortcode,backbone,wp-backbone,media-models,wp-plupload,wp-media&load[]=element,wp-api-request,media-views,media-editor,media-audiovideo,mce-view,imgareaselect,image-edit,svg-painter,wp-auth-check&ver=aec31907a7fd3732126ea2e7ba7d2bc4:371
(anonymous) @ load-scripts.php?c=0&load[]=thickbox,hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery-color,wp-lists,jquery-query,admin-comments,sugg&load[]=est,postbox,tags-suggest,tags-box,word-count,post,editor-expand,shortcode,backbone,wp-backbone,media-models,wp-plupload,wp-media&load[]=element,wp-api-request,media-views,media-editor,media-audiovideo,mce-view,imgareaselect,image-edit,svg-painter,wp-auth-check&ver=aec31907a7fd3732126ea2e7ba7d2bc4:371
main.js?ver=0.1.2:41 Uncaught TypeError: Cannot read property ‘defaults’ of undefined
at add_filter (main.js?ver=0.1.2:41)
at date.js?ver=0.1.2:205
add_filter @ main.js?ver=0.1.2:41
(anonymous) @ date.js?ver=0.1.2:205
utils.js?ver=1.2.2:11 Uncaught ReferenceError: Backbone is not defined
at utils.js?ver=1.2.2:11
(anonymous) @ utils.js?ver=1.2.2:11
dialog-view.js?ver=0.1:3 Uncaught ReferenceError: Backbone is not defined
at dialog-view.js?ver=0.1:3
(anonymous) @ dialog-view.js?ver=0.1:3
toolset-bs-component-events.js?ver=1:205 Uncaught TypeError: Cannot read property ‘defer’ of undefined
at HTMLDocument.<anonymous> (toolset-bs-component-events.js?ver=1:205)
at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortabl&load[]=e,jquery-ui-draggable,jquery-ui-tabs&ver=aec31907a7fd3732126ea2e7ba7d2bc4:2)
at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortabl&load[]=e,jquery-ui-draggable,jquery-ui-tabs&ver=aec31907a7fd3732126ea2e7ba7d2bc4:2)
at Function.ready (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortabl&load[]=e,jquery-ui-draggable,jquery-ui-tabs&ver=aec31907a7fd3732126ea2e7ba7d2bc4:2)
at HTMLDocument.J (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortabl&load[]=e,jquery-ui-draggable,jquery-ui-tabs&ver=aec31907a7fd3732126ea2e7ba7d2bc4:2)
The topic ‘Backend script issue’ is closed to new replies.