• Resolved anjanphukan

    (@anjanphukan)


    Hi,

    Elementor page builder is not loading on my website. The Google Chrome’s Web Developer tool says this:
    Refused to frame 'https://www.DOMAIN.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'none'".

    And the Elementor’s System Log shows these:

    JS: 2024-04-20 21:20:47 [error X 1][https://www.DOMAIN.com/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:28760] Cannot read properties of undefined (reading 'value') JS: 2024-05-07 12:16:23 [error X 8][https://www.DOMAIN.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=3.21.4:3:581869] Failed to read a named property 'elementorFrontend' from 'Window': Blocked a frame with origin "https://www.DOMAIN.com" from accessing a cross-origin frame.

    I tried disable all the plugins except Elementor and swicthed back to default Twenty Twenty Four theme. But not luck.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Solved by editing a Header entry for frames .htaccess in the Public_HTML folder from:

    Header add Content-Security-Policy "frame-ancestors 'none';"

    to:

    Header add Content-Security-Policy "frame-ancestors 'self'; https://www.DOMAIN.com"

    Alain

    (@alainelementor)

    Hello @cplconsult @anjanphukan !!

    Thank you for your reply. I’m glad this has been handled.
    We will conclude this conversation; feel free to contact us again for further questions.

    Have a good day!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.