Title: Uncaught TypeError: Cannot destructure property &#8216;compact&#8221;
Last modified: November 13, 2023

---

# Uncaught TypeError: Cannot destructure property ‘compact”

 *  Resolved [twentyfourdegrees](https://wordpress.org/support/users/twentyfourdegrees/)
 * (@twentyfourdegrees)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/uncaught-typeerror-cannot-destructure-property-compact/)
 * Hi all,
 * just noticed on multiple sites that this plugin is not working anymore with version
   6.4.1 of WordPress. It throws an error if you try to edit a page:
 * Uncaught TypeError: Cannot destructure property ‘compact’ of ‘window.lodash’ 
   as it is undefined.
 * (details below)
 * Consequently the AWB plugin does not work and the block doesn’t show up in the
   Gutenberg block list.
 * Let me know if I can help.
 * kind regards,
 * Michael
 * load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-
   inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.4.1:5 JQMIGRATE: Migrate
   is installed, version 3.4.1
   index.min.js?ver=1699889806:2 Uncaught TypeError:
   Cannot destructure property ‘compact’ of ‘window.lodash’ as it is undefined.at
   index.min.js?ver=1699889806:2:22586at index.min.js?ver=1699889806:2:1639218at
   index.min.js?ver=1699889806:2:1639221(anoniem) @ index.min.js?ver=1699889806:
   2(anoniem) @ index.min.js?ver=1699889806:2(anoniem) @ index.min.js?ver=1699889806:
   2autofill.js:7 *** undefined

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

 *  Plugin Author [nK](https://wordpress.org/support/users/nko/)
 * (@nko)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/uncaught-typeerror-cannot-destructure-property-compact/#post-17198689)
 * Hi Michael,
 * Thank you for reporting to me. Please update the plugin to v1.12.1, this bug 
   should be fixed.
 * Regards,
   Nikita.
 *  Thread Starter [twentyfourdegrees](https://wordpress.org/support/users/twentyfourdegrees/)
 * (@twentyfourdegrees)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/uncaught-typeerror-cannot-destructure-property-compact/#post-17199529)
 * Thank you Nikita, I can hereby confirm that an update to v1.12.1 has solved the
   issue. All clear now.
 * kind regards,
 * Michael

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

The topic ‘Uncaught TypeError: Cannot destructure property ‘compact”’ is closed 
to new replies.

 * ![](https://ps.w.org/advanced-backgrounds/assets/icon-256x256.png?rev=2386996)
 * [Advanced WordPress Backgrounds](https://wordpress.org/plugins/advanced-backgrounds/)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-backgrounds/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-backgrounds/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-backgrounds/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-backgrounds/reviews/)

## Tags

 * [uncaught error](https://wordpress.org/support/topic-tag/uncaught-error/)

 * 2 replies
 * 2 participants
 * Last reply from: [twentyfourdegrees](https://wordpress.org/support/users/twentyfourdegrees/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/uncaught-typeerror-cannot-destructure-property-compact/#post-17199529)
 * Status: resolved