• We’re not able to edit stackable blocks inside reusable block areas. Doing so breaks the block with a ‘This block has encountered an error and can’t be previewed’ and outputs the following console error messages:

    TypeError: Cannot read property 'setAttribute' of null from

    {
    	key: "updateSidebarPanelTab",
    	value: function(e) {
    		var t = this.containerDiv.current.closest(".components-panel");
    		t.setAttribute("data-ugb-tab", e),
    		t.closest(".edit-post-sidebar").classList.add("ugb--has-panel-tabs")
    	}
    }

    Cannot read property 'querySelector' of undefined from
    this.getActiveTabPanelContainer().querySelector(".components-panel__body:nth-child(".concat(e + 1, "):not(.is-opened) .components-panel__body-toggle"))

Viewing 1 replies (of 1 total)
  • I just got this same issue. I am testing WP 5.4.3 and was able to make a Header Block reuseable and copy it to other pages. That worked, but when I went to change some text on one so all the other would change I kept getting an error that the Block could not be displayed.

Viewing 1 replies (of 1 total)
  • The topic ‘Can’t use with reusable blocks’ is closed to new replies.