• Resolved cyaniccypher

    (@cyaniccypher)


    Hello,

    The minification portion of your plug in when enabled cuases google site kit errors. like this:

    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

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Harshad

    (@bornforphp)

    @cyaniccypher Could you please uncheck the option “Enable merging is JS files” and “Enable merging of CSS” files from WP-Optimize > Minify > JS & CSS and check if it helps to fix the issue?

    Thread Starter cyaniccypher

    (@cyaniccypher)

    @bornforphp “Enable merging is JS files” is not checked.

    Harshad

    (@bornforphp)

    @cyaniccypher Could you please turn off Minify option and check if you still get the errors?

    Thread Starter cyaniccypher

    (@cyaniccypher)

    @bornforphp, that is exactly it when minification is disabled there are no errors.

    For now I have excluded the google site kit plug-in from minification, and this resolved the issue.

    Harshad

    (@bornforphp)

    @cyaniccypher Glad to hear the issue is now fixed, I’ll report this issue to our development team, hopefully it should get fixed in next release.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘minification causes google site kit errors’ is closed to new replies.