Hello,
I think I have the same error. I can’t apply the header to the entire website. I have Astra theme and Elementor Pro.
I get 405 error and this in my log:
Uncaught TypeError: Cannot read property ‘querySelector’ of null
at n (frontend.min.js?ver=3.0.2:1)
at frontend.min.js?ver=3.0.2:1
and:
/wp-json/elementor/v1/site-editor/templates-conditions/119669:1 Failed to load resource: the server responded with a status of 405 ()
How to fix this?