• Resolved brentammok

    (@brentammok)


    I am getting a series of “Uncaught TypeError: Cannot read properties of undefined” errors relating to Site Kit (Chrome Developer Console).

    It can’t read: ‘call’, ‘createRegistrySelector’ and ‘useSelect’.

    The plugin seems to be operating properly.

    As an example, the first one is:

    Uncaught TypeError: Cannot read properties of undefined (reading 'call')
        at a (googlesitekit-runtime.min.js:1:574)
        at Object.<anonymous> (googlesitekit-api.min.js:1:2745)
        at Object.224 (googlesitekit-api.min.js:1:3169)
        at a (googlesitekit-runtime.min.js:1:574)
        at Object.<anonymous> (googlesitekit-api.min.js:1:10213)
        at Object.413 (googlesitekit-api.min.js:1:13891)
        at a (googlesitekit-runtime.min.js:1:574)
        at Module.<anonymous> (googlesitekit-api.min.js:1:31103)
        at Module.883 (googlesitekit-api.min.js:1:31228)
        at a (googlesitekit-runtime.min.js:1:574)
    a	@	googlesitekit-runtime.min.js:1
    (anonymous)	@	googlesitekit-api.min.js:1
    224	@	googlesitekit-api.min.js:1
    a	@	googlesitekit-runtime.min.js:1
    (anonymous)	@	googlesitekit-api.min.js:1
    413	@	googlesitekit-api.min.js:1
    a	@	googlesitekit-runtime.min.js:1
    (anonymous)	@	googlesitekit-api.min.js:1
    883	@	googlesitekit-api.min.js:1
    a	@	googlesitekit-runtime.min.js:1
    i	@	googlesitekit-runtime.min.js:1
    j	@	googlesitekit-runtime.min.js:1
    (anonymous)	@	googlesitekit-api.min.js:1

    What are these errors and how do I fix them?

    Thanks!

    Brent

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Adam Dunnage

    (@adamdunnage)

    Hi @brentammok thanks for getting in touch and sharing the console error messages you are getting. To help investigate this further could you provide the following information:

    1. Your Site Health information. You can use this form to share privately if preferred.
    2. Are you only seeing this in your Chrome dev tools as you mentioned or are you getting this in the plugin too such as the dashboard or settings sections?
    3. Do you get the same console errors when accessing via an incognito window?

    Let me know if you have any further questions.

    Thread Starter brentammok

    (@brentammok)

    Hi Adam,

    1. I have submitted the form. Instructions were super-clear!

    2. The errors did not show up in the plugin, either dashboard or settings sections

    3. The errors DO NOT show up on an incognito chrome window. (Hmmmmm)

    Let me know if you need anything else.

    Thanks

    Brent

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @brentammok Thanks a lot for providing the information that’s all very useful. Based on the fact that you are not seeing these errors in an incognito window, this could be caching related.

    I can see that you are using the SiteGround Optimizer plugin on your site. Would you be able to clear your cache using this and check once more to see if you get the console errors. If you do then also try temporarily deactivating the optimizer plugin to see if that clears the console errors.

    Let me know how this goes.

    Thread Starter brentammok

    (@brentammok)

    @adamdunnage – I cleared the cache through Site Ground. The errors still occurred. I then deactivated the SiteGround Optimizer plugin, cleared the cache (again), and the errors did not display.

    I get the sense this is what you might have been expecting? what now?

    thanks

    Brent

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @brentammok Thanks for trying this and confirming. This now looks to be a conflict with the SiteGround Optimizer plugin which could be caused by one of the settings you have enabled for this or something else that the plugin could be doing.

    I will try to recreate this on one of our sites but in the meantime I’d recommend reaching out to SiteGround for their support but it’s likely that a change will need to be made in the Optimizer plugin or by them on their side to clear the console errors you are seeing while using Site Kit.

    Please let me know how this goes and if there is anything else we can help with.

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @brentammok just checking in here to see if you were able to find the exact cause here and what in the SiteGround Optimizer plugin was causing this to happen?

    Plugin Support Adam Dunnage

    (@adamdunnage)

    As we didn’t receive 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 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Uncaught TypeError: Cannot read properties of undefined’ is closed to new replies.