Title: Site Kit Error
Last modified: October 15, 2021

---

# Site Kit Error

 *  Resolved [rdiggins](https://wordpress.org/support/users/rdiggins/)
 * (@rdiggins)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/site-kit-error-9/)
 * Any help appreciated from the kind folk out there – Have a great weekend !?
 *     ```
       An error occurred while running 'mapSelect': e(...) is null
       The error may be correlated with this previous error:
       AdminBarSessions/c<@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-adminbar.3d233c39d190731b42d2.js?ver=1634313164:1:101745
       e@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:235103
       Ke/<@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:235212
       Ui@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:813985
       ya@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:836914
       t.unstable_runWithPriority@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:856537
       Mr@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:781637
       Yj@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:833341
       Lj@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:823697
       Br/<@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:781928
       t.unstable_runWithPriority@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:856537
       Mr@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:781637
       Br@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:781875
       zr@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:781808
       Rg@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:820287
       Sh@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:799191
       e@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:235184
       Ke/</t<@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:235268
       o/<@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:228837
       o@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:228809
       J/m</<@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:227226
       p@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:219666
       J/s</</</</<@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:224847
       D/</<@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:222262
       N/</</<@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:222698
       dispatch@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:221391
       r@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:221999
       n/<@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:720762
       n@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:720737
       o/<@https://www.justonefortheroad.com/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a0af0bbc710e91070c7c.js?ver=1634313164:1:720691
   
       Original stack trace:
   
           in AdminBarSessions
           in WithWidgetComponentProps(AdminBarSessions)
           in div
           in Cell
           in div
           in Row
           in AdminBarWidgets
           in div
           in div
           in div
           in AdminBarApp
           in RestoreSnapshots
           in ErrorHandler
           in Root
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsite-kit-error-9%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/site-kit-error-9/#post-14979853)
 * Hello, thank you for getting in touch. I would be happy to help. Please can you
   provide the following information:
    1. Your Site Health information. If you’d prefer you can use this form to share
       privately.
    2. Is this a new error and did you have Site Kit working before?
    3. Does this same error occur if you temporarily deactivate the WP rocket plugin
       or disable your minify option? You can find this in your [WP Rocket settings](https://i.imgur.com/zfgEIfd.png)
 * Thanks.
 *  Thread Starter [rdiggins](https://wordpress.org/support/users/rdiggins/)
 * (@rdiggins)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/site-kit-error-9/#post-14980206)
 * Hi Adam
 * Thanks for the response. OK to answer your questions :
 * 1. Site Kit has two recommended improvements although the first time I ran it
   there was a third suggestion saying the site is having SEO issues and cannot 
   be found in search? That has now disappeared and the two that remain are:
 *     ```
       One or more recommended modules are missing Performance
   
       PHP modules perform most of the tasks on the server that make your site run. Any changes to these must be made by your server administrator.
   
       The WordPress Hosting Team maintains a list of those modules, both recommended and required, in the team handbook (opens in a new tab).
   
           Warning The optional module, imagick, is not installed, or has been disabled.
   
       Not all recommended security headers are installed SSL
   
       Your .htaccess file does not contain all recommended security headers.
   
           HTTP Strict Transport Security
           Content Security Policy: Upgrade Insecure Requests
           X-XSS protection
           X-Content Type Options
   
       Learn more about security headers
       ```
   
 * 2. Site kit was working before and as of this morning it appears to be working
   fine with the previously reported error gone ? In the Elementor de bugger I have
   this error only TEMPLATE FILE – NO TEMPLATES FOR CONDITION – ASTRA Page.php
 * 3. With the Site kit appearing now to work fine I cannot answer that.
 * Could be that all is now sorted but if you can make any suggestions that would
   be appreciated. The site is working fast and appears fine just now unless you
   see differently?
 * thank you
 * Rupert
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/site-kit-error-9/#post-14980756)
 * Thanks for all the information.
    1. From what I can see here these recommendations have not come from Site Kit as
       it does not make any edits to your .htaccess file or have the access to change
       PHP modules.
    2. Thanks for letting us know and very glad to hear this is now working for you.
       Based on the error you were seeing it’s Possible that you had a minification
       and caching related issue. For more information on this you can see [here](https://github.com/google/site-kit-wp/issues/2350#issuecomment-845004933)
       which details the minify issue and how to set an exclude rule for this.
    3. Please do let us know if the issue returns in future and if you need any help
       troubleshooting further.
 * Thanks.
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/site-kit-error-9/#post-15003981)
 * As we haven’t received a response, I’ll mark this as resolved. Feel free to open
   a [new support topic](https://wordpress.org/support/plugin/google-site-kit/#new-topic-0)
   if you continue to encounter issues, or reopen this topic and we’d be happy to
   assist. Thanks.

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

The topic ‘Site Kit Error’ is closed to new replies.

 * ![](https://ps.w.org/google-site-kit/assets/icon-256x256.png?rev=3141863)
 * [Site Kit by Google - Analytics, Search Console, AdSense, Speed](https://wordpress.org/plugins/google-site-kit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-site-kit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-site-kit/)
 * [Active Topics](https://wordpress.org/support/plugin/google-site-kit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-site-kit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-site-kit/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/site-kit-error-9/#post-15003981)
 * Status: resolved