• Resolved limsocheat

    (@limsocheat)


    An error occurred while running 'mapSelect': Cannot read properties of null (reading 'isGatheringData')
    The error may be correlated with this previous error:
    TypeError: Cannot read properties of null (reading 'isGatheringData')
        at Object.current (https://topaz-restaurant.com/wp-content/cache/asset-cleanup/js/item/googlesitekit-adminbar-v7f89ca3605af15e47e173d670a1984f3bee509d7.js:3:15524)
        at e (https://topaz-restaurant.com/wp-content/cache/asset-cleanup/js/item/googlesitekit-vendor-v81136ba3091f563cd2175ab367e7471b80595d52.js:2:189242)
        at https://topaz-restaurant.com/wp-content/cache/asset-cleanup/js/item/googlesitekit-vendor-v81136ba3091f563cd2175ab367e7471b80595d52.js:2:189351
        at Ui (https://topaz-restaurant.com/wp-content/cache/asset-cleanup/js/item/googlesitekit-vendor-v81136ba3091f563cd2175ab367e7471b80595d52.js:2:824757)
        at va (https://topaz-restaurant.com/wp-content/cache/asset-cleanup/js/item/googlesitekit-vendor-v81136ba3091f563cd2175ab367e7471b80595d52.js:2:847684)
        at t.unstable_runWithPriority (https://topaz-restaurant.com/wp-content/cache/asset-cleanup/js/item/googlesitekit-vendor-v81136ba3091f563cd2175ab367e7471b80595d52.js:2:867309)
        at Mr (https://topaz-restaurant.com/wp-content/cache/asset-cleanup/js/item/googlesitekit-vendor-v81136ba3091f563cd2175ab367e7471b80595d52.js:2:792409)
        at Yj (https://topaz-restaurant.com/wp-content/cache/asset-cleanup/js/item/googlesitekit-vendor-v81136ba3091f563cd2175ab367e7471b80595d52.js:2:844111)
        at Lj (https://topaz-restaurant.com/wp-content/cache/asset-cleanup/js/item/googlesitekit-vendor-v81136ba3091f563cd2175ab367e7471b80595d52.js:2:834469)
        at https://topaz-restaurant.com/wp-content/cache/asset-cleanup/js/item/googlesitekit-vendor-v81136ba3091f563cd2175ab367e7471b80595d52.js:2:792700
    
    Original stack trace:
    
        in AdminBarSessions
        in WithWidgetComponentProps(AdminBarSessions)
        in div
        in Cell
        in div
        in Row
        in AdminBarWidgets
        in div
        in Cell
        in div
        in Row
        in div
        in ForwardRef
        in AdminBarApp
        in RestoreSnapshots
        in ErrorHandler
        in Root
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support James Osborne

    (@jamesosborne)

    Hi @limsocheat,

    Thanks for reaching out and sharing the details of the error you’re encountering. Based on the details this is occurring as a result of a minification configuration with your WP Asset Cleanup plugin.

    As Site Kit JavaScript files are already minified you can apply an exclusion within your WP Asset Cleanup configuration if you want to keep the minifcation option enabled (Settings > Optimize JavaScript > Do not minify the JavaScript files matching the patterns below (one per line)

    The minification exclusion you need to apply is below:
    /wp-content/plugins/google-site-kit/

    Note that the error you’re encountering only impacts administrators using the Site Kit admin toolbar. It’s not a bug or error with Site Kit itself, more a minification related conflict.

    I’ll keep this support topic open while you confirm the above worked. We also have more information on this error on the plugin website. Let me know if you have any questions or need further assistance with this.

    Plugin Support James Osborne

    (@jamesosborne)

    As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you continue to encounter issues, or reopen this topic and we’d be happy to assist.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Site Kit encountered an error’ is closed to new replies.