Error in admin on widget page
-
On widgets page https://xyz.com/wp-admin/widgets.php
it’s showing below error and widget page content is not loading, I have installed in fresh WordPress but showing same issue
Uncaught TypeError: Cannot read properties of undefined (reading ‘getEditedPostAttribute’) at post-settings.2774e3f5.js?ver=4.4.9.1:1:9946
let S; const vs = ()=>{ if (A()) { const {subscribe: s, select: e} = window.wp.data , r = e(“core/editor”); s(()=>{ const n = r.getEditedPostAttribute(“featured_media”); (!S || S !== n) && (T.emit(“updateFeaturedImage”, n), S = n) } ) } if (os() || ns()) { const s = window.MutationObserver || window.WebKitMutationObserver , e = new s(()=>{ var t; const n = (t = document.getElementById(“_thumbnail_id”)) == null ? void 0 : t.value; (!S || S !== n) && (T.emit(“updateFeaturedImage”, n), S = n) } ) , r = document.getElementById(“postimagediv”); r && e.observe(r, { subtree: !0, childList: !0 }) } } , ys = ()=>{ vs() } ;The page I need help with: [log in to see the link]
- The topic ‘Error in admin on widget page’ is closed to new replies.