• Resolved dreamweaveryarns

    (@dreamweaveryarns)


    When I click to Site Kit stats button on the home page I get this error. It works on all other pages of the site. Help. Thank you.

    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://dreamweaveryarns.com/dev/wp-content/cache/min/1/dev/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-adminbar.f309fd7bc1712429b6eb.js?ver=1629034076:1:99110)
        at e (https://dreamweaveryarns.com/dev/wp-content/cache/min/1/dev/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a5386dff3e9eb4149158.js?ver=1629034076:1:191908)
        at https://dreamweaveryarns.com/dev/wp-content/cache/min/1/dev/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a5386dff3e9eb4149158.js?ver=1629034076:1:192017
        at Ui (https://dreamweaveryarns.com/dev/wp-content/cache/min/1/dev/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a5386dff3e9eb4149158.js?ver=1629034076:1:811960)
        at ya (https://dreamweaveryarns.com/dev/wp-content/cache/min/1/dev/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a5386dff3e9eb4149158.js?ver=1629034076:1:834887)
        at t.unstable_runWithPriority (https://dreamweaveryarns.com/dev/wp-content/cache/min/1/dev/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a5386dff3e9eb4149158.js?ver=1629034076:1:854512)
        at Mr (https://dreamweaveryarns.com/dev/wp-content/cache/min/1/dev/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a5386dff3e9eb4149158.js?ver=1629034076:1:779612)
        at Yj (https://dreamweaveryarns.com/dev/wp-content/cache/min/1/dev/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a5386dff3e9eb4149158.js?ver=1629034076:1:831314)
        at Lj (https://dreamweaveryarns.com/dev/wp-content/cache/min/1/dev/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a5386dff3e9eb4149158.js?ver=1629034076:1:821672)
        at https://dreamweaveryarns.com/dev/wp-content/cache/min/1/dev/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor.a5386dff3e9eb4149158.js?ver=1629034076:1:779903
    
    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 to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @dreamweaveryarns ,

    Thanks for opening a support topic. Hopefully we’ll be able to help you.

    It seems you have installed WP Rocket plugin at your website. 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.

    You can define the below exclusion to ensure Site Kit admin toolbar is not impacted by WP Rocket optimizations (JS asset combination or minification):
    /wp-content/plugins/google-site-kit/dist/assets/js/(.*).js

    Best Regards,

    @dreamweaveryarns As we haven’t received 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 ‘Error on Home Page’ is closed to new replies.