Console errors when editing custom posts
-
Hi. With AI Engine v1.3.82 installed, I am seeing console errors when trying to edit a custom post:
media-audiovideo.min.js?ver=25911de10f6ed4e290da3fb6dd82f0fe:2 Uncaught TypeError: Cannot read properties of undefined (reading 'id') at media-audiovideo.min.js?ver=25911de10f6ed4e290da3fb6dd82f0fe:2:10595 at media-audiovideo.min.js?ver=25911de10f6ed4e290da3fb6dd82f0fe:2:12038 the-paste.js:6 Uncaught TypeError: Cannot read properties of undefined (reading 'prototype') at 5 (the-paste.js:6:24) at s (_prelude.js:1:1) at _prelude.js:1:1 at 2.media-view.js (index.js:4:1) at s (_prelude.js:1:1) at i (_prelude.js:1:1) at _prelude.js:1:1
And when I click the button to add media, nothing happens in the UI, but I get this in the console:
media-views.min.js?ver=25911de10f6ed4e290da3fb6dd82f0fe:2 Uncaught TypeError: Cannot read properties of undefined (reading 'audio') at n.initialize (media-views.min.js?ver=25911de10f6ed4e290da3fb6dd82f0fe:2:62952) at h.View (backbone.min.js?ver=1.4.1:2:14648) at n.constructor (wp-backbone.min.js?ver=25911de10f6ed4e290da3fb6dd82f0fe:2:2602) at n.constructor (media-views.min.js?ver=25911de10f6ed4e290da3fb6dd82f0fe:2:106836) at n [as constructor] (backbone.min.js?ver=1.4.1:2:23485) at n [as constructor] (backbone.min.js?ver=1.4.1:2:23485) at n [as constructor] (backbone.min.js?ver=1.4.1:2:23485) at new n (backbone.min.js?ver=1.4.1:2:23485) at wp.media (media-models.min.js?ver=25911de10f6ed4e290da3fb6dd82f0fe:2:11946) at Object.add (media-editor.min.js?ver=25911de10f6ed4e290da3fb6dd82f0fe:2:7904) initialize @ media-views.min.js?ver=25911de10f6ed4e290da3fb6dd82f0fe:2 h.View @ backbone.min.js?ver=1.4.1:2 constructor @ wp-backbone.min.js?ver=25911de10f6ed4e290da3fb6dd82f0fe:2 constructor @ media-views.min.js?ver=25911de10f6ed4e290da3fb6dd82f0fe:2 n @ backbone.min.js?ver=1.4.1:2 n @ backbone.min.js?ver=1.4.1:2 n @ backbone.min.js?ver=1.4.1:2 n @ backbone.min.js?ver=1.4.1:2 wp.media @ media-models.min.js?ver=25911de10f6ed4e290da3fb6dd82f0fe:2 add @ media-editor.min.js?ver=25911de10f6ed4e290da3fb6dd82f0fe:2 open @ media-editor.min.js?ver=25911de10f6ed4e290da3fb6dd82f0fe:2 Jn @ underscore.min.js?ver=1.13.4:2 (anonymous) @ underscore.min.js?ver=1.13.4:2 (anonymous) @ underscore.min.js?ver=1.13.4:2 (anonymous) @ media-editor.min.js?ver=25911de10f6ed4e290da3fb6dd82f0fe:2 dispatch @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,regenerator-runtime,wp-polyfill,wp-hooks&ver=25911de10f6ed4e290da3fb6dd82f0fe:2 y.handle @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,regenerator-runtime,wp-polyfill,wp-hooks&ver=25911de10f6ed4e290da3fb6dd82f0fe:2
With AI-Engine disabled, these errors go away.
Any help would be appreciated.
David.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Console errors when editing custom posts’ is closed to new replies.