• Resolved cyaniccypher

    (@cyaniccypher)


    Hello,

    Many of my pages generate the following errors below.

    Please let me know how to address them:

    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://orchardaudio.com/wp-content/cache/wpo-minify/1653914029/assets/wpo-minify-footer-googlesitekit-adminbar.min.js:1:132192)
        at e (https://orchardaudio.com/wp-content/cache/wpo-minify/1653914029/assets/wpo-minify-footer-googlesitekit-vendor.min.js:1:217003)
        at https://orchardaudio.com/wp-content/cache/wpo-minify/1653914029/assets/wpo-minify-footer-googlesitekit-vendor.min.js:1:217112
        at Ui (https://orchardaudio.com/wp-content/cache/wpo-minify/1653914029/assets/wpo-minify-footer-googlesitekit-vendor.min.js:1:851267)
        at va (https://orchardaudio.com/wp-content/cache/wpo-minify/1653914029/assets/wpo-minify-footer-googlesitekit-vendor.min.js:1:874194)
        at t.unstable_runWithPriority (https://orchardaudio.com/wp-content/cache/wpo-minify/1653914029/assets/wpo-minify-footer-googlesitekit-vendor.min.js:1:893819)
        at Mr (https://orchardaudio.com/wp-content/cache/wpo-minify/1653914029/assets/wpo-minify-footer-googlesitekit-vendor.min.js:1:818919)
        at Yj (https://orchardaudio.com/wp-content/cache/wpo-minify/1653914029/assets/wpo-minify-footer-googlesitekit-vendor.min.js:1:870621)
        at Lj (https://orchardaudio.com/wp-content/cache/wpo-minify/1653914029/assets/wpo-minify-footer-googlesitekit-vendor.min.js:1:860979)
        at https://orchardaudio.com/wp-content/cache/wpo-minify/1653914029/assets/wpo-minify-footer-googlesitekit-vendor.min.js:1:819210
    
    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
    • This topic was modified 2 years, 5 months ago by cyaniccypher.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support James Osborne

    (@jamesosborne)

    Hi @cyaniccypher,

    Thanks for getting in touch. Based on the details you kindly provided this error seems to be as a result of a configuration with an optimization plugin, possibly minification or combining of JavaScript assets.

    When applied these JavaScript can result in unpredictable behavior with other plugins, including the admin toolbar and Site Kit.

    As it looks like you’re using the WP Optimize plugin can you temporary deactivate this and inform me if the issue remains, when using the Site Kit admin toolbar? You can re-activate WP Optimize afterwards. If the issue no longer occurs I’d be happy to check the settings with you for any possible cause. If the issue remains please share your Site Health information and we can investigate further.

    We have more details on a similar error on the plugin website. The error described here, which differs slightly, is also as a result of particular configurations applied from a caching or optimization plugin.

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

    Thread Starter cyaniccypher

    (@cyaniccypher)

    Hello,

    I shared the site health information using the form.

    I will work on the other item with the WP Optimize Plug in.

    Thread Starter cyaniccypher

    (@cyaniccypher)

    The WP Optimize minification feature was causing the errors. Once disabled the errors went away. Thanks for the help.

    Plugin Support James Osborne

    (@jamesosborne)

    Many thanks for sharing. While I try and recreate this error please go ahead and temporarily deactivate WP Optimize before checking does the error remain when you check the Site Kit admin toolbar.

    Edit: Looks like you’ve already determined the cause! You can keep your WP Optimize plugin activated. You just need to apply the exclusion for the Site Kit JavaScript resources, within the plugins minification settings:
    /wp-content/plugins/google-site-kit/

    Let me know how you get on with this, or if you need further assistance. Note that you may need to purge your WP Optimize cache also, after applying any change.

    • This reply was modified 2 years, 5 months ago by James Osborne.
    Thread Starter cyaniccypher

    (@cyaniccypher)

    Thanks, I have added the exclusion it seems to be working correctly.

    Plugin Support James Osborne

    (@jamesosborne)

    Nice job! Thanks for the update.

    If you run into any further errors, or if you have any queries, be sure to reach out to us here in the forums.

    Be sure to also leave your plugin feedback if you’ve been a Site Kit user for some time now.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Site Kit errors on pages’ is closed to new replies.