UCDavisLibrary / ucdlib-theme-wp

Wordpress theme port of the UC Davis SiteFarm One Theme
2 stars 0 forks source link

Error when adding or editing reusable blocks #146

Open UcDust opened 2 years ago

UcDust commented 2 years ago

When trying add a new reusable block or edit one, an error is thrown in the ui-

Image

Image

TypeError: Cannot read properties of undefined (reading 'collectionType') at Edit (http://localhost:3000/wp-content/plugins/ucdlib-assets/assets/js/editor/dev/ucdlib-editor.js?ver=1655915368:37646:31) at Le (http://localhost:3000/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:100:3) at Pj (http://localhost:3000/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:231:183) at di (http://localhost:3000/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:168:305) at Nj (http://localhost:3000/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:168:236) at sc (http://localhost:3000/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:168:96) at gf (http://localhost:3000/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:162:109) at http://localhost:3000/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:73:230 at unstable_runWithPriority (http://localhost:3000/wp-includes/js/dist/vendor/react.min.js?ver=17.0.1:24:26) at Za (http://localhost:3000/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:73:8)