magento2: Magento 2 version 2.4.3-p1 “Page Builder was rendering for 5 seconds without releasing locks” error.

So friends im having an issue with saving my page at the pagebuilder:

Ubuntu 20.04 Magento Version 2.4.3-p1 So i attempt to create a new page(has same effect as i try to edit an existing one) and i add some elements to the page, afterwards i click save

It should have made the page successfully

  1. And here i get the spinning wheel of death perpetually there and the error “Page Builder was rendering for 5 seconds without releasing locks.” that was supposedly fixed in version 2.3.6 of magento

  2. image

Additional Information

The issue was data-content-type="heading". In 2.4.3p1 EE when I’m adding content from scratch then i don’t see this attr getting added. But it was there in 2.3.2 EE. After removing this attribute from the page now it saves. I have removed that attribute from all pages using MySQL replace statement.

What you can try, is to add some content and include this

<span data-pb-style="6235E010E29C8">NOS SOLUTIONS</span>

You can edit any h2 tag and include data-content-type=“heading” there directly in the DB, as normally there is no option to edit the text in the pagebuilder. And then try to save the page.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 3
  • Comments: 61 (15 by maintainers)

Most upvoted comments

I fixed that issue with this patch:

--- vendor/magento/module-page-builder/view/adminhtml/web/js/stage-builder.js (date 1676459396611) +++ vendor/magento/module-page-builder/view/adminhtml/web/js/stage-builder.js (date 1676459396611) @@ -49,9 +49,11 @@ _.each(styles, function (stylesArray, selector) { var element = document.querySelector(selector);

- _.each(stylesArray, function (style) { - element.setAttribute("data-" + name + "-style", element.getAttribute("data-" + name + "-style") ? element.getAttribute("data-" + name + "-style") + style.cssText : style.cssText); - }); + if (element) + _.each(stylesArray, function (style) { + element.setAttribute("data-" + name + "-style", element.getAttribute("data-" + name + "-style") ? element.getAttribute("data-" + name + "-style") + style.cssText : style.cssText); + }); + } }); });

I face the same issue. Is there any update?

Facing the same issue. Magento ver. 2.4.3-p1. Hapens very rarely, but still happens. Steps to reproduce - in M2 admin save category or product or cms page where pagebuilder content is added. Approx 1 in 50 saves gives this error.

Official fix doesn’t work in circumstances described here - https://github.com/magento/magento2/issues/34898#issuecomment-1525970492

I’m experiencing same issue in 2.4.5-p1 Enterprise version

Under Firefox works correctly as well. Issue is still in Chrome.

I’m experiencing same issue in 2.4.5-p1 Community version