jQuery and CSS Files Cannot be Found When Logged in to WordPress
-
These errors only appear to happen in Chrome while I’m logged into WordPress. These errors only happen when https is active.
I did swapped all the URLs to https and the actual files do exist, but I guess not with the required version? WP core, the theme, and the plugins are all up-to-date.
Here’s an example of the errors listed in the Developer Console when trying to use the WordPress Customizer…
Failed to load resource: the server responded with a status of 404 (Not Found) load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate&ver=5.4.1:8 JQMIGRATE: Migrate is installed, version 1.4.1 core.min.js:1 Failed to load resource: the server responded with a status of 404 (Not Found) draggable.min.js?ver=1.11.4:11 Uncaught TypeError: Cannot read property 'add' of undefined at draggable.min.js?ver=1.11.4:11 at draggable.min.js?ver=1.11.4:11 at draggable.min.js?ver=1.11.4:11 load-scripts.php?c=1&load[chunk_0]=wp-hooks,heartbeat,customize-widgets,mce-view,imgareaselect,image-edit,jquery-touch-punch,iris,wp-color-picker,quicktags,jquery-&load[chunk_1]=ui-position,jquery-ui-menu,jquery-ui-autocomplete,thickbox,media-upload,accordion,wp-sanitize,customize-nav-menus,customize-mode&load[chunk_2]=ls,customize-views,updates,jquery-ui-resizable&ver=5.4.1:909 Uncaught TypeError: Cannot read property 'add' of undefined at load-scripts.php?c=1&load[chunk_0]=wp-hooks,heartbeat,customize-widgets,mce-view,imgareaselect,image-edit,jquery-touch-punch,iris,wp-color-picker,quicktags,jquery-&load[chunk_1]=ui-position,jquery-ui-menu,jquery-ui-autocomplete,thickbox,media-upload,accordion,wp-sanitize,customize-nav-menus,customize-mode&load[chunk_2]=ls,customize-views,updates,jquery-ui-resizable&ver=5.4.1:909 at load-scripts.php?c=1&load[chunk_0]=wp-hooks,heartbeat,customize-widgets,mce-view,imgareaselect,image-edit,jquery-touch-punch,iris,wp-color-picker,quicktags,jquery-&load[chunk_1]=ui-position,jquery-ui-menu,jquery-ui-autocomplete,thickbox,media-upload,accordion,wp-sanitize,customize-nav-menus,customize-mode&load[chunk_2]=ls,customize-views,updates,jquery-ui-resizable&ver=5.4.1:909 at load-scripts.php?c=1&load[chunk_0]=wp-hooks,heartbeat,customize-widgets,mce-view,imgareaselect,image-edit,jquery-touch-punch,iris,wp-color-picker,quicktags,jquery-&load[chunk_1]=ui-position,jquery-ui-menu,jquery-ui-autocomplete,thickbox,media-upload,accordion,wp-sanitize,customize-nav-menus,customize-mode&load[chunk_2]=ls,customize-views,updates,jquery-ui-resizable&ver=5.4.1:909 draggable.min.js?ver=1.11.4:11 Uncaught TypeError: Cannot read property 'call' of undefined at h.<computed>.<computed>._trigger (draggable.min.js?ver=1.11.4:11) at h.<computed>.<computed>.h.isFunction.a.<computed> [as _trigger] (widget.min.js?ver=1.11.4:11) at h.<computed>.<computed>._createWidget (widget.min.js?ver=1.11.4:11) at new h.<computed>.<computed> (widget.min.js?ver=1.11.4:11) at HTMLAnchorElement.<anonymous> (widget.min.js?ver=1.11.4:11) at Function.each (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate&ver=5.4.1:2) at a.fn.init.each (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate&ver=5.4.1:2) at a.fn.init.h.fn.<computed> [as draggable] (widget.min.js?ver=1.11.4:11) at h.<computed>.<computed>._initControls (load-scripts.php?c=1&load[chunk_0]=wp-hooks,heartbeat,customize-widgets,mce-view,imgareaselect,image-edit,jquery-touch-punch,iris,wp-color-picker,quicktags,jquery-&load[chunk_1]=ui-position,jquery-ui-menu,jquery-ui-autocomplete,thickbox,media-upload,accordion,wp-sanitize,customize-nav-menus,customize-mode&load[chunk_2]=ls,customize-views,updates,jquery-ui-resizable&ver=5.4.1:27) at h.<computed>.<computed>.h.isFunction.a.<computed> [as _initControls] (widget.min.js?ver=1.11.4:11)
Here’s an example when editing a post…
GET https://glenysbrown.com/wp-includes/js/jquery/ui/core.min.js?ver=1.11.4 net::ERR_ABORTED 404 (Not Found) load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget&ver=fef8a392f531a80295c2303bedc553d1:8 JQMIGRATE: Migrate is installed, version 1.4.1 post.php?post=1070&action=edit:1529 GET https://glenysbrown.com/wp-includes/js/jquery/ui/core.min.js?ver=1.11.4 net::ERR_ABORTED 404 (Not Found) draggable.min.js?ver=1.11.4:11 Uncaught TypeError: Cannot read property 'add' of undefined at draggable.min.js?ver=1.11.4:11 at draggable.min.js?ver=1.11.4:11 at draggable.min.js?ver=1.11.4:11 (anonymous) @ draggable.min.js?ver=1.11.4:11 (anonymous) @ draggable.min.js?ver=1.11.4:11 (anonymous) @ draggable.min.js?ver=1.11.4:11 resizable.min.js?ver=1.11.4:11 Uncaught TypeError: Cannot read property 'add' of undefined at resizable.min.js?ver=1.11.4:11 at resizable.min.js?ver=1.11.4:11 at resizable.min.js?ver=1.11.4:11 (anonymous) @ resizable.min.js?ver=1.11.4:11 (anonymous) @ resizable.min.js?ver=1.11.4:11 (anonymous) @ resizable.min.js?ver=1.11.4:11 deprecated.min.js?ver=cd9e35508705772fbc5e2d9736bde31b:2 wp.editor.withColors is deprecated. Please use wp.blockEditor.withColors instead. c @ deprecated.min.js?ver=cd9e35508705772fbc5e2d9736bde31b:2 (anonymous) @ editor.min.js?ver=bb928f624169f992ec79a4889c7abf35:12 644 @ featured-category.js?ver=2.5.16:1 i @ featured-category.js?ver=2.5.16:1 e @ featured-category.js?ver=2.5.16:1 wc.blocks.featured-category.0 @ featured-category.js?ver=2.5.16:1 (anonymous) @ featured-category.js?ver=2.5.16:1 post.php?post=1070&action=edit:1 [DOM] Found 2 elements with non-unique id #_wpnonce: (More info: https://goo.gl/9p2vKq) <input type=?"hidden" id=?"_wpnonce" name=?"_wpnonce" value=?"020b55a01d">? <input type=?"hidden" id=?"_wpnonce" name=?"_wpnonce" value=?"b91b492516">? load-scripts.php?c=1&load[chunk_0]=hoverIntent,common,hoverintent-js,admin-bar,jquery-ui-position,wp-pointer,heartbeat,wp-format-library,mce-view,imgareaselect,ima&load[chunk_1]=ge-edit,quicktags,jquery-ui-menu,jquery-ui-autocomplete,thickbox,media-upload,jquery-touch-punch,iris,wp-color-picker,svg-painte&load[chunk_2]=r,wp-auth-check,media-grid&ver=fef8a392f531a80295c2303bedc553d1:44 Uncaught TypeError: this.element.uniqueId is not a function at h.<computed>.<computed>._create (load-scripts.php?c=1&load[chunk_0]=hoverIntent,common,hoverintent-js,admin-bar,jquery-ui-position,wp-pointer,heartbeat,wp-format-library,mce-view,imgareaselect,ima&load[chunk_1]=ge-edit,quicktags,jquery-ui-menu,jquery-ui-autocomplete,thickbox,media-upload,jquery-touch-punch,iris,wp-color-picker,svg-painte&load[chunk_2]=r,wp-auth-check,media-grid&ver=fef8a392f531a80295c2303bedc553d1:44) at h.<computed>.<computed>.h.isFunction.a.<computed> [as _create] (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget&ver=fef8a392f531a80295c2303bedc553d1:21) at h.<computed>.<computed>._createWidget (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget&ver=fef8a392f531a80295c2303bedc553d1:21) at new h.<computed>.<computed> (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget&ver=fef8a392f531a80295c2303bedc553d1:21) at HTMLUListElement.<anonymous> (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget&ver=fef8a392f531a80295c2303bedc553d1:21) at Function.each (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget&ver=fef8a392f531a80295c2303bedc553d1:2) at a.fn.init.each (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget&ver=fef8a392f531a80295c2303bedc553d1:2) at a.fn.init.h.fn.<computed> [as menu] (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget&ver=fef8a392f531a80295c2303bedc553d1:21) at h.<computed>.<computed>._create (load-scripts.php?c=1&load[chunk_0]=hoverIntent,common,hoverintent-js,admin-bar,jquery-ui-position,wp-pointer,heartbeat,wp-format-library,mce-view,imgareaselect,ima&load[chunk_1]=ge-edit,quicktags,jquery-ui-menu,jquery-ui-autocomplete,thickbox,media-upload,jquery-touch-punch,iris,wp-color-picker,svg-painte&load[chunk_2]=r,wp-auth-check,media-grid&ver=fef8a392f531a80295c2303bedc553d1:55) at h.<computed>.<computed>.h.isFunction.a.<computed> [as _create] (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget&ver=fef8a392f531a80295c2303bedc553d1:21) _create @ load-scripts.php?c=1&load[chunk_0]=hoverIntent,common,hoverintent-js,admin-bar,jquery-ui-position,wp-pointer,heartbeat,wp-format-library,mce-view,imgareaselect,ima&load[chunk_1]=ge-edit,quicktags,jquery-ui-menu,jquery-ui-autocomplete,thickbox,media-upload,jquery-touch-punch,iris,wp-color-picker,svg-painte&load[chunk_2]=r,wp-auth-check,media-grid&ver=fef8a392f531a80295c2303bedc553d1:44 h.isFunction.a.<computed> @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget&ver=fef8a392f531a80295c2303bedc553d1:21 _createWidget @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget&ver=fef8a392f531a80295c2303bedc553d1:21 h.<computed>.<computed> @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget&ver=fef8a392f531a80295c2303bedc553d1:21 (anonymous) @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget&ver=fef8a392f531a80295c2303bedc553d1:21 each @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget&ver=fef8a392f531a80295c2303bedc553d1:2 each @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget&ver=fef8a392f531a80295c2303bedc553d1:2 h.fn.<computed> @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget&ver=fef8a392f531a80295c2303bedc553d1:21 _create @ load-scripts.php?c=1&load[chunk_0]=hoverIntent,common,hoverintent-js,admin-bar,jquery-ui-position,wp-pointer,heartbeat,wp-format-library,mce-view,imgareaselect,ima&load[chunk_1]=ge-edit,quicktags,jquery-ui-menu,jquery-ui-autocomplete,thickbox,media-upload,jquery-touch-punch,iris,wp-color-picker,svg-painte&load[chunk_2]=r,wp-auth-check,media-grid&ver=fef8a392f531a80295c2303bedc553d1:55 h.isFunction.a.<computed> @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget&ver=fef8a392f531a80295c2303bedc553d1:21 _createWidget @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget&ver=fef8a392f531a80295c2303bedc553d1:21 h.<computed>.<computed> @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget&ver=fef8a392f531a80295c2303bedc553d1:21 (anonymous) @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget&ver=fef8a392f531a80295c2303bedc553d1:21 each @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget&ver=fef8a392f531a80295c2303bedc553d1:2 each @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget&ver=fef8a392f531a80295c2303bedc553d1:2 h.fn.<computed> @ load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget&ver=fef8a392f531a80295c2303bedc553d1:21 onPostRender @ wp-tinymce.js?ver=4960-20190918:45 a @ wp-tinymce.js?ver=4960-20190918:11 c.fire @ wp-tinymce.js?ver=4960-20190918:3 fire @ wp-tinymce.js?ver=4960-20190918:5 postRender @ wp-tinymce.js?ver=4960-20190918:5 (anonymous) @ wp-tinymce.js?ver=4960-20190918:5 qt @ wp-tinymce.js?ver=4960-20190918:3 each @ wp-tinymce.js?ver=4960-20190918:5 exec @ wp-tinymce.js?ver=4960-20190918:5 postRender @ wp-tinymce.js?ver=4960-20190918:5 (anonymous) @ wp-tinymce.js?ver=4960-20190918:3 (anonymous) @ wp-tinymce.js?ver=4960-20190918:5 qt @ wp-tinymce.js?ver=4960-20190918:3 each @ wp-tinymce.js?ver=4960-20190918:5 exec @ wp-tinymce.js?ver=4960-20190918:5 postRender @ wp-tinymce.js?ver=4960-20190918:5 (anonymous) @ wp-tinymce.js?ver=4960-20190918:3 postRender @ wp-tinymce.js?ver=4960-20190918:5 (anonymous) @ wp-tinymce.js?ver=4960-20190918:3 (anonymous) @ wp-tinymce.js?ver=4960-20190918:5 qt @ wp-tinymce.js?ver=4960-20190918:3 each @ wp-tinymce.js?ver=4960-20190918:5 exec @ wp-tinymce.js?ver=4960-20190918:5 postRender @ wp-tinymce.js?ver=4960-20190918:5 (anonymous) @ wp-tinymce.js?ver=4960-20190918:3 renderTo @ wp-tinymce.js?ver=4960-20190918:5 g.wp._createToolbar @ wp-tinymce.js?ver=4960-20190918:33 (anonymous) @ wp-tinymce.js?ver=4960-20190918:45 c.fire @ wp-tinymce.js?ver=4960-20190918:3 fire @ wp-tinymce.js?ver=4960-20190918:3 bw @ wp-tinymce.js?ver=4960-20190918:3 Aw @ wp-tinymce.js?ver=4960-20190918:3 (anonymous) @ wp-tinymce.js?ver=4960-20190918:3 (anonymous) @ wp-tinymce.js?ver=4960-20190918:3 qt @ wp-tinymce.js?ver=4960-20190918:3 u @ wp-tinymce.js?ver=4960-20190918:3 n @ wp-tinymce.js?ver=4960-20190918:3 l.<computed>.l.<computed>.l.<computed>.o.onload @ wp-tinymce.js?ver=4960-20190918:3 load (async) (anonymous) @ wp-tinymce.js?ver=4960-20190918:3 qt @ wp-tinymce.js?ver=4960-20190918:3 u @ wp-tinymce.js?ver=4960-20190918:3 Di.loadScripts @ wp-tinymce.js?ver=4960-20190918:3 Di.loadQueue @ wp-tinymce.js?ver=4960-20190918:3 (anonymous) @ wp-tinymce.js?ver=4960-20190918:3 waitFor @ wp-tinymce.js?ver=4960-20190918:3 (anonymous) @ wp-tinymce.js?ver=4960-20190918:3 (anonymous) @ wp-tinymce.js?ver=4960-20190918:3 qt @ wp-tinymce.js?ver=4960-20190918:3 u @ wp-tinymce.js?ver=4960-20190918:3 Di.loadScripts @ wp-tinymce.js?ver=4960-20190918:3 Di.loadQueue @ wp-tinymce.js?ver=4960-20190918:3 (anonymous) @ wp-tinymce.js?ver=4960-20190918:3 Bw @ wp-tinymce.js?ver=4960-20190918:3 Ow @ wp-tinymce.js?ver=4960-20190918:3 render @ wp-tinymce.js?ver=4960-20190918:3 n @ wp-tinymce.js?ver=4960-20190918:3 (anonymous) @ wp-tinymce.js?ver=4960-20190918:3 qt @ wp-tinymce.js?ver=4960-20190918:3 e @ wp-tinymce.js?ver=4960-20190918:3 y.bind @ wp-tinymce.js?ver=4960-20190918:3 M @ wp-tinymce.js?ver=4960-20190918:3 init @ wp-tinymce.js?ver=4960-20190918:3 m.editor.initialize @ editor.min.js?ver=fef8a392f531a80295c2303bedc553d1:2 value @ block-library.min.js?ver=067800bc020babb22719c7a030bf65d9:9
Here’s an example of the homepage…
(index):21 GET https://glenysbrown.com/wp-content/plugins/cookie-law-info/public/css/cookie-law-info-public.css?ver=1.8.8 net::ERR_ABORTED 404 (Not Found) (index):22 GET https://glenysbrown.com/wp-content/plugins/cookie-law-info/public/css/cookie-law-info-gdpr.css?ver=1.8.8 net::ERR_ABORTED 404 (Not Found) (index):25 GET https://glenysbrown.com/wp-content/uploads/siteorigin-widgets/sow-button-atom-4a75a8acc3b6.css?ver=fef8a392f531a80295c2303bedc553d1 net::ERR_ABORTED 404 (Not Found) jquery-migrate-3.1.0.min.js:2 JQMIGRATE: Migrate is installed, version 3.1.0 2(index):903 GET https://glenysbrown.com/wp-includes/js/jquery/ui/core.min.js?ver=1.11.4 net::ERR_ABORTED 404 (Not Found)
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘jQuery and CSS Files Cannot be Found When Logged in to WordPress’ is closed to new replies.