• WP 6.3. I have an FSE theme and, in the theme editor, I’m seeing this error about 50% of the time when the front page is displayed:

    The editor has encountered an unexpected error
    TypeError: Cannot read properties of null (reading 'getModel')
        at /wp-content/plugins/custom-html-block-extension/build/block-editor.js?ver=1691679625:1:98679
        at Or (/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:73056)
        at Ir (/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:73242)
        at El (/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:92487)
        at /wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:91974
        at xl (/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:92039)
        at fl (/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:85808)
        at Nn (/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:32474)
        at /wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:92034
        at xl (/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0:10:92039)

    I’m also seeing this in the browser’s console:

    custom-html-block-extension-css was added to the iframe incorrectly. Please use block.json or enqueue_block_assets to add styles to the iframe.
Viewing 1 replies (of 1 total)
  • Plugin Author Aki Hamano

    (@wildworks)

    Thanks for the report.

    WP 6.3. I have an FSE theme and, in the theme editor, I’m seeing this error about 50% of the time when the front page is displayed:

    I’m unable to reproduce this issue. By front page, do you mean the site editor template or the front end? Also, does this issue crash the HTML block?

    I’m also seeing this in the browser’s console:

    I have released version 3.3.2 which fixes this problem.

Viewing 1 replies (of 1 total)

The topic ‘TypeError: Cannot read properties of null (reading ‘getModel’) in FSE’ is closed to new replies.