• Resolved aliciad7

    (@aliciad7)


    Hello, I recently installed asset clean up and after activating it google site kit stopped recording data. I now get this error message when I try to check site kit for a given page:

    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://www.lagun.com/wp-content/cache/asset-cleanup/js/item/googlesitekit-adminbar-v2b5f60ff0a34463d1ad959917c5261724c67b349.js:3:18145)
        at e (https://www.lagun.com/wp-content/cache/asset-cleanup/js/item/googlesitekit-vendor-va5087ad9095781b9f6cda8539f601a96af247cde.js:2:188328)
        at https://www.lagun.com/wp-content/cache/asset-cleanup/js/item/googlesitekit-vendor-va5087ad9095781b9f6cda8539f601a96af247cde.js:2:188437
        at Ui (https://www.lagun.com/wp-content/cache/asset-cleanup/js/item/googlesitekit-vendor-va5087ad9095781b9f6cda8539f601a96af247cde.js:2:836318)
        at va (https://www.lagun.com/wp-content/cache/asset-cleanup/js/item/googlesitekit-vendor-va5087ad9095781b9f6cda8539f601a96af247cde.js:2:859245)
        at t.unstable_runWithPriority (https://www.lagun.com/wp-content/cache/asset-cleanup/js/item/googlesitekit-vendor-va5087ad9095781b9f6cda8539f601a96af247cde.js:2:878870)
        at Mr (https://www.lagun.com/wp-content/cache/asset-cleanup/js/item/googlesitekit-vendor-va5087ad9095781b9f6cda8539f601a96af247cde.js:2:803970)
        at Yj (https://www.lagun.com/wp-content/cache/asset-cleanup/js/item/googlesitekit-vendor-va5087ad9095781b9f6cda8539f601a96af247cde.js:2:855672)
        at Lj (https://www.lagun.com/wp-content/cache/asset-cleanup/js/item/googlesitekit-vendor-va5087ad9095781b9f6cda8539f601a96af247cde.js:2:846030)
        at https://www.lagun.com/wp-content/cache/asset-cleanup/js/item/googlesitekit-vendor-va5087ad9095781b9f6cda8539f601a96af247cde.js:2:804261
    
    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
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support James Osborne

    (@jamesosborne)

    Hi there @aliciad7,

    Thanks for reaching out. Based on your stack trace and details you kindly provided this looks like it’s occurring with the Site Kit admin toolbar, and likely as result of a minification setting applied with your WP Asset Cleanup configurations.

    In order to ensure Site Kit files are not minified can you apply the below exclusion?
    /wp-content/plugins/google-site-kit/

    I’ve added a screenshot below showing you where to enter this exclusion.

    You’ll find some documentation on the WP Asset Cleanup website on how to apply exclusions. When using optimisation plugins features such as minification can impact aspects of your front end, including any admin toolbar feature such as the Site Kit tab.

    Let me know if you have any questions with the above.

    Thread Starter aliciad7

    (@aliciad7)

    This was very helpful, thank you for the tip and quick reply!

    Plugin Support James Osborne

    (@jamesosborne)

    No problem at all, happy to help. If you have any further queries be sure to reach out. If you’ve been a Site Kit user for some time be sure to also leave your plugin review.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Asset Clean up interfering with site kit?’ is closed to new replies.