Dinesh Bali
asked on
Error: Cannot create a stable subkey under a volatile parent key
Hi,
I am getting below error in javascript in IE 11 on Windows 7.
Error: Cannot create a stable subkey under a volatile parent key.
if (window.localStorage.getIt em('toCurr encyCode') == null || window.localStorage.getIte m('toCurre ncyCode') == 'undefined' || window.localStorage.getIte m('toCurre ncyCode') == '') {
dataLayer.push({ 'chosenCurrencyCode': defaultCurrencyConversionC ode });
My understanding is coming that javascript is not able to read window.localStorage.getIte m on IE 11 on windows 7.
The script is working on chrome, firefox, IE11 on windows 10
Also, script is working on chrome on windows 7.
It is only giving issue in IE11 on windows 7.
Please advise.
I am getting below error in javascript in IE 11 on Windows 7.
Error: Cannot create a stable subkey under a volatile parent key.
if (window.localStorage.getIt
dataLayer.push({ 'chosenCurrencyCode': defaultCurrencyConversionC
My understanding is coming that javascript is not able to read window.localStorage.getIte
The script is working on chrome, firefox, IE11 on windows 10
Also, script is working on chrome on windows 7.
It is only giving issue in IE11 on windows 7.
Please advise.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks.
Restoring IE to default setting helped.
Regards
Restoring IE to default setting helped.
Regards
Imho the error is caused in dataLayer.push(), which seems to be a custom method.