Title: Uncaught errors after update
Last modified: August 14, 2025

---

# Uncaught errors after update

 *  Resolved [David Wickstead](https://wordpress.org/support/users/wicko/)
 * (@wicko)
 * [9 months, 4 weeks ago](https://wordpress.org/support/topic/uncaught-errors-after-update/)
 * I have started to see a lot of uncaught errors after update today using WooCommerce.
 * googlesitekit-runtime.min.js:1 Uncaught TypeError: Cannot read properties of 
   undefined (reading ‘call’)
   at t (googlesitekit-runtime.min.js:1:564)at 1281 (
   googlesitekit-polyfills.min.js:1:565)at t (googlesitekit-runtime.min.js:1:564)
   at l (googlesitekit-runtime.min.js:1:425)at Array.c [as push](https://wordpress.org/support/topic/uncaught-errors-after-update/293?output_format=md)
   at googlesitekit-vendor.min.js:1:79
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Funcaught-errors-after-update%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Evan Mattson](https://wordpress.org/support/users/aaemnnosttv/)
 * (@aaemnnosttv)
 * [9 months, 4 weeks ago](https://wordpress.org/support/topic/uncaught-errors-after-update/#post-18599599)
 * Hi there! It looks like you have a plugin which is optimizing/minifying our JS
   files by generating new versions of them which is known for causing conflicts.
   This is visible by the name of the file which is different from [the files that we publish in the release](https://plugins.svn.wordpress.org/google-site-kit/tags/1.159.0/dist/assets/js/).
   Unfortunately, I can’t tell exactly what it is from the error message, but there
   are a number of plugins that do this kind of thing.
 * If you’re able to exclude Site Kit from these optimizations, I would expect this
   should resolve the issue for you. If not, our support team will be happy to dig
   into this with you and get to the bottom of it!
 * Cheers 👍
 *  Thread Starter [David Wickstead](https://wordpress.org/support/users/wicko/)
 * (@wicko)
 * [9 months, 4 weeks ago](https://wordpress.org/support/topic/uncaught-errors-after-update/#post-18599631)
 * Yes we use SG Optimizer and I can exclude the JS but need to know what JS to 
   exclude. I don’t see any that appear to be SiteKit specific. 
   I have already 
   tried flushing cache on site, server and browser. I can confirm that if I switch
   off the JS minification then the error disappears
 *  Plugin Author [Evan Mattson](https://wordpress.org/support/users/aaemnnosttv/)
 * (@aaemnnosttv)
 * [9 months, 4 weeks ago](https://wordpress.org/support/topic/uncaught-errors-after-update/#post-18599854)
 * Hi David, thanks for confirming the issue and the fix. I think there may be an
   issue with the SG plugin, but I’ve gone ahead and created a tiny plugin you can
   use to safely exclude Site Kit from that plugins optimizations automatically.
 * [https://gist.github.com/aaemnnosttv/2bc6fab481236fd920dd895ea8adcfd6](https://gist.github.com/aaemnnosttv/2bc6fab481236fd920dd895ea8adcfd6)
 * Feel free to review the code first afterwards you can download the zip right 
   from GitHub and install it manually as you would for any other plugin that isn’t
   on the plugin repository.
 * Let us know how that goes for you!
 *  Thread Starter [David Wickstead](https://wordpress.org/support/users/wicko/)
 * (@wicko)
 * [9 months, 4 weeks ago](https://wordpress.org/support/topic/uncaught-errors-after-update/#post-18599997)
 * Thank you Even
   I have added your snippet and can confirm that is has stopped 
   the errors appearing.
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [9 months, 4 weeks ago](https://wordpress.org/support/topic/uncaught-errors-after-update/#post-18600022)
 * [@wicko](https://wordpress.org/support/users/wicko/) Glad to hear that Evan’s
   plugin has helped to address your issue. I will close this support topic but 
   should you have any further questions or issues in the future then please don’t
   hesitate to ask!

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

The topic ‘Uncaught errors after update’ is closed to new replies.

 * ![](https://ps.w.org/google-site-kit/assets/icon-256x256.png?rev=3141863)
 * [Site Kit by Google - Analytics, Search Console, AdSense, Speed](https://wordpress.org/plugins/google-site-kit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-site-kit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-site-kit/)
 * [Active Topics](https://wordpress.org/support/plugin/google-site-kit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-site-kit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-site-kit/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * Last activity: [9 months, 4 weeks ago](https://wordpress.org/support/topic/uncaught-errors-after-update/#post-18600022)
 * Status: resolved