• Resolved Charlie Laubin

    (@charlie45100)


    Hello I am having a problem in the top navigation bar when I am on a page of my site.

    How to correct this problem?

    An error occurred while running 'mapSelect': Cannot read property 'getReport' of null
    The error may be correlated with this previous error:
    TypeError: Cannot read property 'getReport' of null
        at Object.current (https://ffr.community/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-adminbar.f395a8adeffced035632.js?ver=1626126230:2:220796)
        at e (https://ffr.community/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.739fd0f156bc499b3341.js?ver=1626126229:1:255405)
        at https://ffr.community/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.739fd0f156bc499b3341.js?ver=1626126229:1:255514
        at Ui (https://ffr.community/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.739fd0f156bc499b3341.js?ver=1626126229:1:882196)
        at va (https://ffr.community/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.739fd0f156bc499b3341.js?ver=1626126229:1:905123)
        at t.unstable_runWithPriority (https://ffr.community/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.739fd0f156bc499b3341.js?ver=1626126229:1:924748)
        at Mr (https://ffr.community/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.739fd0f156bc499b3341.js?ver=1626126229:1:849848)
        at Yj (https://ffr.community/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.739fd0f156bc499b3341.js?ver=1626126229:1:901550)
        at Lj (https://ffr.community/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.739fd0f156bc499b3341.js?ver=1626126229:1:891908)
        at https://ffr.community/wp-content/cache/min/1/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.739fd0f156bc499b3341.js?ver=1626126229:1:850139
    
    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 5 replies - 1 through 5 (of 5 total)
  • I have the same error

    An error occurred while running 'mapSelect': Cannot read property 'getReport' of null
    The error may be correlated with this previous error:
    TypeError: Cannot read property 'getReport' of null
        at Object.current (https://saleslab.ie/wp-content/cache/asset-cleanup/js/item/googlesitekit-adminbar-v3a93c3daedd5f25b536e8f76cc913ce044bd2c9c.js:3:220796)
        at e (https://saleslab.ie/wp-content/cache/asset-cleanup/js/item/googlesitekit-vendor-vb2497b7b1d7d8358fa12fac9a7c3a1d3cf7ddbf7.js:2:255405)
        at https://saleslab.ie/wp-content/cache/asset-cleanup/js/item/googlesitekit-vendor-vb2497b7b1d7d8358fa12fac9a7c3a1d3cf7ddbf7.js:2:255514
        at Ui (https://saleslab.ie/wp-content/cache/asset-cleanup/js/item/googlesitekit-vendor-vb2497b7b1d7d8358fa12fac9a7c3a1d3cf7ddbf7.js:2:882196)
        at va (https://saleslab.ie/wp-content/cache/asset-cleanup/js/item/googlesitekit-vendor-vb2497b7b1d7d8358fa12fac9a7c3a1d3cf7ddbf7.js:2:905123)
        at t.unstable_runWithPriority (https://saleslab.ie/wp-content/cache/asset-cleanup/js/item/googlesitekit-vendor-vb2497b7b1d7d8358fa12fac9a7c3a1d3cf7ddbf7.js:2:924748)
        at Mr (https://saleslab.ie/wp-content/cache/asset-cleanup/js/item/googlesitekit-vendor-vb2497b7b1d7d8358fa12fac9a7c3a1d3cf7ddbf7.js:2:849848)
        at Yj (https://saleslab.ie/wp-content/cache/asset-cleanup/js/item/googlesitekit-vendor-vb2497b7b1d7d8358fa12fac9a7c3a1d3cf7ddbf7.js:2:901550)
        at Lj (https://saleslab.ie/wp-content/cache/asset-cleanup/js/item/googlesitekit-vendor-vb2497b7b1d7d8358fa12fac9a7c3a1d3cf7ddbf7.js:2:891908)
        at https://saleslab.ie/wp-content/cache/asset-cleanup/js/item/googlesitekit-vendor-vb2497b7b1d7d8358fa12fac9a7c3a1d3cf7ddbf7.js:2:850139
    
    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

    Hello @charlie45100 ,

    Based on other similar reports we’ve determined this can occur as a result of a particular configuration on the WP Rocket side. While this occurs on for logged in users making use of the Site Kit admin toolbar only can you check is the same notice occurs when you have the JS minification option disabled within your WP Rocket configuration, or with the WP Rocket plugin temporarily deactivated?

    In case if you are not using WP Rocket please share your Site Health information via form privately so we can inspect your setup.

    Best Regards,

    Thread Starter Charlie Laubin

    (@charlie45100)

    After disabling the minification option of the JS this indeed solved the problem. An update is planned so that the plugin can be compatible with the WP Rocket option?

    You can restrict WP Rocket to minify Site Kit resources by excluding Site Kit resources as instructed in the GitHub issue.

    As for the update this is not the thing that can be controlled through Site Kit. You can specifically disable Site Kit resources as mentioned above.

    Plugin Support James Osborne

    (@jamesosborne)

    Now that we’ve determined this is a particular configuration issue with a third party plugin I’ll mark this as resolved. You don’t need to deactivate minification within WP rocket if you apply the exclusion suggested above in the GitHub issue.

    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 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Site Kit encountered an error’ is closed to new replies.