Hello Friends!!!
In this blog, we are going to discuss the “Page Builder was rendering for 5 seconds without releasing locks” error related to page builder in Magento 2 (https://github.com/magento/magento2/issues/34898).
Reproducing the error: At admin end, on product create/edit page, create/edit cms page or category page, when we open the content section (which contains page-builder), we get an error on console as the following screenshot:
And when we set some content in page builder and save the data, we get the following error as shown in the image:
“Page Builder was rendering for 5 seconds without releasing locks”
Solution: To fix the error “Refused to frame https://<domainname>.com/ because an ancestor violates the following Content Security Policy directive: “frame-ancestors ‘none'”.“, we have commented on the following statement in the Nginx server’s configuration:
#add_header Content-Security-Policy “frame-ancestors ‘none’;”;
You can do it according to your server or if you have no idea about it, we will suggest you contact your hosting provider regarding this.
After fixing this error(Refused to frame https://<domainname>.com/ because an ancestor violates the following Content Security Policy directive: “frame-ancestors ‘none'”.), when you will save the page builder content, it will be saved successfully.
Hope this will be helpful. Thanks 🙂
Be the first to comment.