Hey Team Brainstorm,
just in case my problem is a different one, I get a similar error.
Uncaught TypeError: can't access property "querySelector", i is null
.
I can provide you further details if needed.
I’m some sort of able to reproduce the problem. My problem is bound the Astra Theme and Elementor Pro. To be more specific, this problem “always” occur when I implement the global header template from Elementor Pro.
I tested all Plugins one by one and so it always comes to Elementor Pro and Astra. Not the Astra Pro Addon.
I tested multiple versions of the Elementor and Elementor Pro Plugin and it didn’t help. What helped was to install an older version of Astra. When I installed the Astra theme version 2.6.2, there is no problem at all.
But there is one thing I don’t understand. I think it’s kinda dependent on how I installed my plugins. Unfortunately I can’t remember anymore what I did a few weeks ago, but installing a complete new WordPress website and installing my Plugins from the WordPress Backend (instead of FTP) I could somehow bypass this problem. So I can’t explain why some of my websites get this error and others not.
All I can tell, it started with the 3.0 update. Normally I copy all my plugins via FTP or the C-Panel of my hosting provider into my website and start buildung from there on.
After building the client website for about 30 hours I haven’t the time anymore for a new/clean/fresh website and I don’t want to modify any files which will be potentially updated by you.
Edit:
https://my-example-domain.com/wp-content/themes/astra/assets/js/minified/frontend.min.js?ver=3.0.2:1
That’s the file which catches the error.
The full error log by FireFox:
Uncaught TypeError: can't access property "querySelector", i is null
n https://my-example-domain.com/wp-content/themes/astra/assets/js/minified/frontend.min.js?ver=3.0.2:1
<anonymous> https://my-example-domain.com/wp-content/themes/astra/assets/js/minified/frontend.min.js?ver=3.0.2:1
EventListener.handleEvent* https://my-example-domain.com/wp-content/themes/astra/assets/js/minified/frontend.min.js?ver=3.0.2:1
<anonymous> https://my-example-domain.com/wp-content/themes/astra/assets/js/minified/frontend.min.js?ver=3.0.2:1
frontend.min.js:1:2751
n https://my-example-domain.com/wp-content/themes/astra/assets/js/minified/frontend.min.js?ver=3.0.2:1
<anonym> https://my-example-domain.com/wp-content/themes/astra/assets/js/minified/frontend.min.js?ver=3.0.2:1
(Async: EventListener.handleEvent)
<anonym> https://my-example-domain.com/wp-content/themes/astra/assets/js/minified/frontend.min.js?ver=3.0.2:1
<anonym> https://my-example-domain.com/wp-content/themes/astra/assets/js/minified/frontend.min.js?ver=3.0.2:1
Regards,
Max