Title: Customizer not able to commit changes
Last modified: November 16, 2017

---

# Customizer not able to commit changes

 *  Resolved [fraenk](https://wordpress.org/support/users/fraenk/)
 * (@fraenk)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/customizer-not-able-to-commit-changes/)
 * When the companion plugin is enabled, saving changes in Customizer won’t work(
   infinite spinner)
 * Console throws the following error:
 *     ```
       customizer-base.js?ver=1.0.134:999 Uncaught TypeError: Cannot read property 'phpTrim' of undefined
           at Object.setMod (customizer-base.js?ver=1.0.134:999)
           at customizer-base.js?ver=1.0.134:1195
           at Function.m.each.m.forEach (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,customize-base,wp-a11y,wp-util,jquery-ui-core,customize-controls,jquery-ui-widget,jquery-u&load[]=i-position,jquery-ui-tooltip,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable,jquery-ui-droppable,backbone,wp-backbone,wp-&load[]=ajax-response,jquery-color,wp-lists,postbox,nav-menu,utils,media-models,moxiejs,plupload,wp-plupload&ver=4.9:14)
           at Object.setMultipleMods (customizer-base.js?ver=1.0.134:1194)
           at Object._setContent (customizer-base.js?ver=1.0.134:1317)
           at Object.<anonymous> (customizer-base.js?ver=1.0.134:1322)
           at c (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,underscore,customize-base,wp-a11y,wp-util,jquery-ui-core,customize-controls,jquery-ui-widget,jquery-u&load[]=i-position,jquery-ui-tooltip,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable,jquery-ui-droppable,backbone,wp-backbone,wp-&load[]=ajax-response,jquery-color,wp-lists,postbox,nav-menu,utils,media-models,moxiejs,plupload,wp-plupload&ver=4.9:14)
       ```
   

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

 *  Thread Starter [fraenk](https://wordpress.org/support/users/fraenk/)
 * (@fraenk)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/customizer-not-able-to-commit-changes/#post-9689592)
 * Ok… I’ve tracked the issue down and it is NOT related to this plugin.
 * The WP I am working on has been set to some strange custom locale `de_DE_formal`
   which caused a general error in the customizer component:
 * `Uncaught TypeError: Language code must have format 2-3 letters and. optionally,
   hyphen, underscore followed by 2 more letters`
 * After fixing the locale format everything works fine and dandy!
 *  [Tobias Beuving](https://wordpress.org/support/users/tobiasbeuving/)
 * (@tobiasbeuving)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/customizer-not-able-to-commit-changes/#post-9693263)
 * Same here with formal dutch (Nederlands formeel) (nl_NL_formeel)
 * When changed to ‘regular’ dutch (nl_NL) everything works fine.
 * The ‘formal’ versions of languages are relatively new in WordPress, the Customizer
   should keep this in account, where can I file a bug report?
    -  This reply was modified 8 years, 6 months ago by [Tobias Beuving](https://wordpress.org/support/users/tobiasbeuving/).
      Reason: added commas to tags
 *  [Chantal Coolsma](https://wordpress.org/support/users/chantalc/)
 * (@chantalc)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/customizer-not-able-to-commit-changes/#post-9693278)
 * No action needed. Core devs are already on it. Issue with MediaElement:
 * [https://core.trac.wordpress.org/ticket/42574](https://core.trac.wordpress.org/ticket/42574)
 *  [Tobias Beuving](https://wordpress.org/support/users/tobiasbeuving/)
 * (@tobiasbeuving)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/customizer-not-able-to-commit-changes/#post-9693346)
 * [@chantalc](https://wordpress.org/support/users/chantalc/) Great! Thanks
 *  [hansretra](https://wordpress.org/support/users/hansretra/)
 * (@hansretra)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/customizer-not-able-to-commit-changes/#post-9696911)
 * Thanks. I changed my profile language from Dutch to English and it works great
   again. Now i’ll wait for the next _NL update.
 *  [wjlim83](https://wordpress.org/support/users/wjlim83/)
 * (@wjlim83)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/customizer-not-able-to-commit-changes/#post-9708791)
 * Hi all, How do you change the profile language?
 *  [radicalm1nd](https://wordpress.org/support/users/radicalm1nd/)
 * (@radicalm1nd)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/customizer-not-able-to-commit-changes/#post-9710314)
 * I think until this error is fixed you have to go to settings (wp-admin/options-
   general.php) and change the site language. For everything else check the link
   [@chantalc](https://wordpress.org/support/users/chantalc/) posted above.
 *  [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/customizer-not-able-to-commit-changes/#post-9711354)
 * There is a workaround plugin to fix the issue with formal languages until 4.9.1
   comes out (probably in January): [https://core.trac.wordpress.org/ticket/42574#comment:22](https://core.trac.wordpress.org/ticket/42574#comment:22)

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

The topic ‘Customizer not able to commit changes’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mesmerize-companion.svg)
 * [Mesmerize Companion](https://wordpress.org/plugins/mesmerize-companion/)
 * [Support Threads](https://wordpress.org/support/plugin/mesmerize-companion/)
 * [Active Topics](https://wordpress.org/support/plugin/mesmerize-companion/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mesmerize-companion/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mesmerize-companion/reviews/)

## Tags

 * [dutch](https://wordpress.org/support/topic-tag/dutch/)
 * [formal](https://wordpress.org/support/topic-tag/formal/)
 * [Nederlands](https://wordpress.org/support/topic-tag/nederlands/)

 * 8 replies
 * 7 participants
 * Last reply from: [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/customizer-not-able-to-commit-changes/#post-9711354)
 * Status: resolved