Title: TypeError: document.querySelector(&#8230;) is null
Last modified: November 19, 2024

---

# TypeError: document.querySelector(…) is null

 *  [peopleinside](https://wordpress.org/support/users/peopleinside/)
 * (@peopleinside)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/typeerror-document-queryselector-is-null/)
 * Hi, I hope you are well.
   I noticed some error in the WordPress error log that
   seems to be related to this plugin.Is something that can be fixed?
 *     ```wp-block-code
       Javascript Message: TypeError: document.querySelector(...) is null - URL: /wp-content/plugins/gdpr-compliant-recaptcha-for-all-forms/scripts/recaptcha-gdpr-pro-state.js?ver=1.0.0 - Line: 2Javascript Message: TypeError: document.querySelector(...) is null - URL: /wp-content/plugins/gdpr-compliant-recaptcha-for-all-forms/scripts/recaptcha-gdpr-pro-state.js?ver=1.0.0 - Line: 2[11-Nov-2024 10:47:35 UTC] Post is null or ID is not set, cannot enqueue block editor scripts.
       ```
   
 * Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Matthias Nordwig](https://wordpress.org/support/users/matthiasnordwig/)
 * (@matthiasnordwig)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/typeerror-document-queryselector-is-null/#post-18284929)
 *  Ciao.
 *  Sorry for the very late reply! In the meantime, I got a newborn and built a 
   house,therefore I was absent a little.
 *  I’ll check whether I get some similar error message.
 * Cheers,
 *  Matthias
 *  Thread Starter [peopleinside](https://wordpress.org/support/users/peopleinside/)
 * (@peopleinside)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/typeerror-document-queryselector-is-null/#post-18284931)
 * > I got a newborn and built a house,therefore I was absent a little.
 * Hi, it’s nice to hear you again and with great news! Congratulation! 😁🎉🎊🎈
 * > I’ll check whether I get some similar error message.
 * Great, thank you! I’m using PHP 8.4

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘TypeError: document.querySelector(…) is null’ is closed to new replies.

 * ![](https://ps.w.org/gdpr-compliant-recaptcha-for-all-forms/assets/icon-256x256.
   jpg?rev=2819605)
 * [Anti-spam, Spam protection, ReCaptcha for all forms and GDPR-compliant](https://wordpress.org/plugins/gdpr-compliant-recaptcha-for-all-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gdpr-compliant-recaptcha-for-all-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gdpr-compliant-recaptcha-for-all-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/gdpr-compliant-recaptcha-for-all-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gdpr-compliant-recaptcha-for-all-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gdpr-compliant-recaptcha-for-all-forms/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [peopleinside](https://wordpress.org/support/users/peopleinside/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/typeerror-document-queryselector-is-null/#post-18284931)
 * Status: not resolved