Loading
Salesforce now sends email only from verified domains. Read More

'Cannot read property 'split' of null' Javascript error using Customer Service Center in B2C Commerce

Publish Date: Nov 26, 2025
Description

Customer Service Center functionalities are not usable because of a JS error on dw.ui.core-main.js. This is due to mismatch of the locale selected under Merchant Tools > Site Preferences > Locales and the user's current locales which can be navigated by clicking profile icon in the top right hand corner of Business Manager and checking the preferences.

 

The error that you may see is:

dw.ui.core-main.js:3232 Uncaught TypeError: Cannot read property 'split' of null
at Object.load (dw.ui.core-main.js:3232)
at t.<anonymous> (dw.ui.core.js:1085)
at dw.ui.core.js:132
at i (dw.ui.core.js:513)
at t.callPlugin (dw.ui.core.js:947)
at t.fetch (dw.ui.core.js:820)
at t.check (dw.ui.core.js:852)
at t.enable (dw.ui.core.js:1166)
at Object.enable (dw.ui.core.js:1539)
at t.<anonymous> (dw.ui.core.js:1151)

Resolution

This occurs because the site locales do not match user profile locale preferences.

To resolve this, follow the steps below

  1. Edit your Profile and check the user's current locales.
  2. Navigate to to Merchant Tools | Site Preferences | Locales and add the locales to fit with the user's profile settings.
Knowledge Article Number

000391263

 
Loading
Salesforce Help | Article