めっちゃ困ったし解決してすごく安心した。
症状
ある日Site Kitのダッシュボードを見たらエラーを吐いていた。グラフとかが見られない。
でもアナリティクスのページで見たら普通に計測できてる。
`An error occurred while running 'mapSelect': Cannot read properties of null (reading 'getAdminReauthURL')
The error may be correlated with this previous error:
TypeError: Cannot read properties of null (reading 'getAdminReauthURL')
at Object.current (https://hogehoge.com/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-modules-search-console-0f11f3954c3d71a2ab93.js?fver=20220810042516:56:18226)
at e (https://hogehoge.com/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor-d1bb48dc16377d7c4145.js?fver=20220810042516:7:94458)
at https://hogehoge.com/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor-d1bb48dc16377d7c4145.js?fver=20220810042516:7:94567
at Ui (https://hogehoge.com/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor-d1bb48dc16377d7c4145.js?fver=20220810042516:7:724964)
at va (https://hogehoge.com/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor-d1bb48dc16377d7c4145.js?fver=20220810042516:7:747887)
at t.unstable_runWithPriority (https://hogehoge.com/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor-d1bb48dc16377d7c4145.js?fver=20220810042516:7:767510)
at Mr (https://hogehoge.com/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor-d1bb48dc16377d7c4145.js?fver=20220810042516:7:692616)
at Yj (https://hogehoge.com/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor-d1bb48dc16377d7c4145.js?fver=20220810042516:7:744316)
at Lj (https://hogehoge.com/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor-d1bb48dc16377d7c4145.js?fver=20220810042516:7:734676)
at https://hogehoge.com/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-vendor-d1bb48dc16377d7c4145.js?fver=20220810042516:7:692907
Original stack trace:
in Overview
in div
in div
in Widget
in WithWidgetSlug(Widget)
in SearchFunnelWidget
in WidgetRenderer
in div
in Cell
in WidgetCellWrapper
in div
in ForwardRef
in div
in div
in ForwardRef
in WidgetAreaRenderer
in div
in WidgetContextRenderer
in DashboardMainApp
in DashboardEntryPoint
in RestoreSnapshots
in ErrorHandler
in StrictMode
in Root`
バージョンをいじってもダメ、再インストールしてもダメ、各アカウントを繋ぎ直してもダメだった。というか、繋ぎ直したら逆にエラーの行が増えた。
原因と対処法
ブラウザはChromeを使ってるんだけど、アドオンで入れてるアドブロックが原因だった。
元々ホワイトリストに入れてたんだけど、多分バージョンアップで一部あぶれたらしい。
ホワイトリストに再設定したら普通に使えるようになった。
以上。
コメント