Reading list Switch to dark mode

    Fixed: “Page Builder was rendering for 5 seconds without releasing locks” error in Magento 2.4.3-p1

    Updated 17 February 2022

    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:

    1-7

    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”

    2-6

    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’;”;

    Searching for an experienced
    Magento 2 Company ?
    Find out More

    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.

    3-8

    Hope this will be helpful. Thanks 🙂

    . . .

    Leave a Comment

    Your email address will not be published. Required fields are marked*


    Be the first to comment.

    Back to Top

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home