Closed frqnck closed 2 years ago
Anyone?
Hi @frqnck,
Thanks for opening the issue! We reproduced the issue on our Magento instances and are investigating the issue.
Thanks, Balazs
Yes, the issue is caused by a slight change in Magento's (customer data) storage initialization in 2.4.x.
We'll check our options and try to release a fix ASAP.
Thanks, Balazs
We are testing the proposed fix on our dev & staging environments. I expect the fix to be released to production early next week.
As the issue wasn't caused by the module itself, but one of the JS files (pulled from CDN), the fix won't require a new release. We'll update the assets and the plugin will pick it up automatically after a couple of minutes.
Thanks, Balazs
@BlasiusVonSzerencsi Awesome. Thank you for sorting this out in such a timely fashion. Have a good WE.
Hi @frqnck,
We have released the fix, please check whether it works on your Magento as well.
Thanks, Balazs
Hi @BlasiusVonSzerencsi,
The previous seem to have gone however we are now seeing a diff error in the console:
scarab-v2.js:1819 {
t: "MULTIPLE_CALL", c: "go", m: "Multiple calls of go command"}
c: "go"
m: "Multiple calls of go command"
t: "MULTIPLE_CALL"
__proto__: Object
error @ scarab-v2.js:1819
go @ scarab-v2.js:1824
go @ scarab-v2.js:2250
go @ scarab-v2.js:2468
Queue.push @ scarab-v2.js:361
n @ emarsys-m2-email-after-233.js:1
setTimeout (async)
(anonymous) @ emarsys-m2-email-after-233.js:1
notifySubscribers @ bundle-common.min.js:1
valueHasMutated @ bundle-common.min.js:1
t @ bundle-common.min.js:1
notify @ bundle-common.min.js:1
(anonymous) @ bundle-common.min.js:1
f.each.f.forEach @ bundle-common.min.js:1
init @ bundle-common.min.js:1
Magento_Customer/js/customer-data @ bundle-common.min.js:1
setTimeout (async)
(anonymous) @ bundle-common.min.js:1
execCb @ ac02d918623c7ee84709f919ad9f7cb3.min.js:112
check @ ac02d918623c7ee84709f919ad9f7cb3.min.js:56
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:73
init @ ac02d918623c7ee84709f919ad9f7cb3.min.js:54
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:97
setTimeout (async)
req.nextTick @ ac02d918623c7ee84709f919ad9f7cb3.min.js:117
localRequire @ ac02d918623c7ee84709f919ad9f7cb3.min.js:97
defContext.require @ ac02d918623c7ee84709f919ad9f7cb3.min.js:144
requirejs @ ac02d918623c7ee84709f919ad9f7cb3.min.js:117
n @ bundle-common.min.js:1
(anonymous) @ bundle-common.min.js:1
f.each.f.forEach @ bundle-common.min.js:1
(anonymous) @ bundle-common.min.js:1
apply @ bundle-common.min.js:1
setTimeout (async)
(anonymous) @ bundle-common.min.js:1
execCb @ ac02d918623c7ee84709f919ad9f7cb3.min.js:112
check @ ac02d918623c7ee84709f919ad9f7cb3.min.js:56
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:72
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:74
each @ ac02d918623c7ee84709f919ad9f7cb3.min.js:3
emit @ ac02d918623c7ee84709f919ad9f7cb3.min.js:74
check @ ac02d918623c7ee84709f919ad9f7cb3.min.js:61
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:72
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:74
each @ ac02d918623c7ee84709f919ad9f7cb3.min.js:3
emit @ ac02d918623c7ee84709f919ad9f7cb3.min.js:74
check @ ac02d918623c7ee84709f919ad9f7cb3.min.js:61
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:73
init @ ac02d918623c7ee84709f919ad9f7cb3.min.js:54
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:66
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:141
execCb @ ac02d918623c7ee84709f919ad9f7cb3.min.js:112
check @ ac02d918623c7ee84709f919ad9f7cb3.min.js:56
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:72
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:74
each @ ac02d918623c7ee84709f919ad9f7cb3.min.js:3
emit @ ac02d918623c7ee84709f919ad9f7cb3.min.js:74
check @ ac02d918623c7ee84709f919ad9f7cb3.min.js:61
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:72
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:74
each @ ac02d918623c7ee84709f919ad9f7cb3.min.js:3
emit @ ac02d918623c7ee84709f919ad9f7cb3.min.js:74
check @ ac02d918623c7ee84709f919ad9f7cb3.min.js:61
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:73
init @ ac02d918623c7ee84709f919ad9f7cb3.min.js:54
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:66
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:141
execCb @ ac02d918623c7ee84709f919ad9f7cb3.min.js:112
check @ ac02d918623c7ee84709f919ad9f7cb3.min.js:56
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:72
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:74
each @ ac02d918623c7ee84709f919ad9f7cb3.min.js:3
emit @ ac02d918623c7ee84709f919ad9f7cb3.min.js:74
check @ ac02d918623c7ee84709f919ad9f7cb3.min.js:61
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:72
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:74
each @ ac02d918623c7ee84709f919ad9f7cb3.min.js:3
emit @ ac02d918623c7ee84709f919ad9f7cb3.min.js:74
check @ ac02d918623c7ee84709f919ad9f7cb3.min.js:61
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:73
init @ ac02d918623c7ee84709f919ad9f7cb3.min.js:54
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:66
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:141
execCb @ ac02d918623c7ee84709f919ad9f7cb3.min.js:112
check @ ac02d918623c7ee84709f919ad9f7cb3.min.js:56
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:72
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:74
each @ ac02d918623c7ee84709f919ad9f7cb3.min.js:3
emit @ ac02d918623c7ee84709f919ad9f7cb3.min.js:74
check @ ac02d918623c7ee84709f919ad9f7cb3.min.js:61
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:72
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:74
each @ ac02d918623c7ee84709f919ad9f7cb3.min.js:3
emit @ ac02d918623c7ee84709f919ad9f7cb3.min.js:74
check @ ac02d918623c7ee84709f919ad9f7cb3.min.js:61
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:73
init @ ac02d918623c7ee84709f919ad9f7cb3.min.js:54
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:66
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:141
execCb @ ac02d918623c7ee84709f919ad9f7cb3.min.js:112
check @ ac02d918623c7ee84709f919ad9f7cb3.min.js:56
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:72
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:74
each @ ac02d918623c7ee84709f919ad9f7cb3.min.js:3
emit @ ac02d918623c7ee84709f919ad9f7cb3.min.js:74
check @ ac02d918623c7ee84709f919ad9f7cb3.min.js:61
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:72
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:74
each @ ac02d918623c7ee84709f919ad9f7cb3.min.js:3
emit @ ac02d918623c7ee84709f919ad9f7cb3.min.js:74
check @ ac02d918623c7ee84709f919ad9f7cb3.min.js:61
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:73
init @ ac02d918623c7ee84709f919ad9f7cb3.min.js:54
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:66
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:141
execCb @ ac02d918623c7ee84709f919ad9f7cb3.min.js:112
check @ ac02d918623c7ee84709f919ad9f7cb3.min.js:56
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:73
init @ ac02d918623c7ee84709f919ad9f7cb3.min.js:54
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:97
setTimeout (async)
req.nextTick @ ac02d918623c7ee84709f919ad9f7cb3.min.js:117
localRequire @ ac02d918623c7ee84709f919ad9f7cb3.min.js:97
load @ ac02d918623c7ee84709f919ad9f7cb3.min.js:141
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:71
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
on @ ac02d918623c7ee84709f919ad9f7cb3.min.js:40
callPlugin @ ac02d918623c7ee84709f919ad9f7cb3.min.js:61
fetch @ ac02d918623c7ee84709f919ad9f7cb3.min.js:55
check @ ac02d918623c7ee84709f919ad9f7cb3.min.js:56
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:73
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:101
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:73
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
each @ ac02d918623c7ee84709f919ad9f7cb3.min.js:3
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:71
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:101
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:73
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
each @ ac02d918623c7ee84709f919ad9f7cb3.min.js:3
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:71
init @ ac02d918623c7ee84709f919ad9f7cb3.min.js:54
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:97
setTimeout (async)
req.nextTick @ ac02d918623c7ee84709f919ad9f7cb3.min.js:117
localRequire @ ac02d918623c7ee84709f919ad9f7cb3.min.js:97
load @ ac02d918623c7ee84709f919ad9f7cb3.min.js:141
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:71
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
on @ ac02d918623c7ee84709f919ad9f7cb3.min.js:40
callPlugin @ ac02d918623c7ee84709f919ad9f7cb3.min.js:61
fetch @ ac02d918623c7ee84709f919ad9f7cb3.min.js:55
check @ ac02d918623c7ee84709f919ad9f7cb3.min.js:56
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:73
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:101
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:73
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
each @ ac02d918623c7ee84709f919ad9f7cb3.min.js:3
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:71
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:101
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:73
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
each @ ac02d918623c7ee84709f919ad9f7cb3.min.js:3
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:71
init @ ac02d918623c7ee84709f919ad9f7cb3.min.js:54
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:97
setTimeout (async)
req.nextTick @ ac02d918623c7ee84709f919ad9f7cb3.min.js:117
localRequire @ ac02d918623c7ee84709f919ad9f7cb3.min.js:97
load @ ac02d918623c7ee84709f919ad9f7cb3.min.js:141
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:71
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
on @ ac02d918623c7ee84709f919ad9f7cb3.min.js:40
callPlugin @ ac02d918623c7ee84709f919ad9f7cb3.min.js:61
fetch @ ac02d918623c7ee84709f919ad9f7cb3.min.js:55
check @ ac02d918623c7ee84709f919ad9f7cb3.min.js:56
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:73
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:101
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:73
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
each @ ac02d918623c7ee84709f919ad9f7cb3.min.js:3
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:71
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:101
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:73
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
each @ ac02d918623c7ee84709f919ad9f7cb3.min.js:3
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:71
init @ ac02d918623c7ee84709f919ad9f7cb3.min.js:54
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:97
setTimeout (async)
req.nextTick @ ac02d918623c7ee84709f919ad9f7cb3.min.js:117
localRequire @ ac02d918623c7ee84709f919ad9f7cb3.min.js:97
load @ ac02d918623c7ee84709f919ad9f7cb3.min.js:141
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:71
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
on @ ac02d918623c7ee84709f919ad9f7cb3.min.js:40
callPlugin @ ac02d918623c7ee84709f919ad9f7cb3.min.js:61
fetch @ ac02d918623c7ee84709f919ad9f7cb3.min.js:55
check @ ac02d918623c7ee84709f919ad9f7cb3.min.js:56
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:73
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:101
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:73
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
each @ ac02d918623c7ee84709f919ad9f7cb3.min.js:3
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:71
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:101
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:73
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
each @ ac02d918623c7ee84709f919ad9f7cb3.min.js:3
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:71
init @ ac02d918623c7ee84709f919ad9f7cb3.min.js:54
callGetModule @ ac02d918623c7ee84709f919ad9f7cb3.min.js:74
intakeDefines @ ac02d918623c7ee84709f919ad9f7cb3.min.js:77
localRequire @ ac02d918623c7ee84709f919ad9f7cb3.min.js:97
load @ ac02d918623c7ee84709f919ad9f7cb3.min.js:141
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:71
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
on @ ac02d918623c7ee84709f919ad9f7cb3.min.js:40
callPlugin @ ac02d918623c7ee84709f919ad9f7cb3.min.js:61
fetch @ ac02d918623c7ee84709f919ad9f7cb3.min.js:55
check @ ac02d918623c7ee84709f919ad9f7cb3.min.js:56
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:73
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:101
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:73
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
each @ ac02d918623c7ee84709f919ad9f7cb3.min.js:3
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:71
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:101
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:73
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
each @ ac02d918623c7ee84709f919ad9f7cb3.min.js:3
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:71
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:101
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:73
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
each @ ac02d918623c7ee84709f919ad9f7cb3.min.js:3
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:71
init @ ac02d918623c7ee84709f919ad9f7cb3.min.js:54
callGetModule @ ac02d918623c7ee84709f919ad9f7cb3.min.js:74
completeLoad @ ac02d918623c7ee84709f919ad9f7cb3.min.js:103
onScriptLoad @ ac02d918623c7ee84709f919ad9f7cb3.min.js:112
load (async)
req.load @ ac02d918623c7ee84709f919ad9f7cb3.min.js:119
load @ ac02d918623c7ee84709f919ad9f7cb3.min.js:112
load @ ac02d918623c7ee84709f919ad9f7cb3.min.js:55
fetch @ ac02d918623c7ee84709f919ad9f7cb3.min.js:55
check @ ac02d918623c7ee84709f919ad9f7cb3.min.js:56
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:73
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:101
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:73
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:11
each @ ac02d918623c7ee84709f919ad9f7cb3.min.js:3
enable @ ac02d918623c7ee84709f919ad9f7cb3.min.js:71
init @ ac02d918623c7ee84709f919ad9f7cb3.min.js:54
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:97
setTimeout (async)
req.nextTick @ ac02d918623c7ee84709f919ad9f7cb3.min.js:117
localRequire @ ac02d918623c7ee84709f919ad9f7cb3.min.js:97
requirejs @ ac02d918623c7ee84709f919ad9f7cb3.min.js:117
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:145
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:145
(anonymous) @ ac02d918623c7ee84709f919ad9f7cb3.min.js:151
Show 152 more frames
conversion.js:22 [Violation] Avoid using document.write(). https://developers.google.com/web/updates/2016/08/removing-document-write
Thanks, Franck
Hi @frqnck ,
This might happen because Magento's customer hook is triggered multiple times. As far as I know, this should be just a warning in Predict and does not throw an error.
Is this the case, or is it a fatal error in the script?
Thanks, Balazs
Hi @BlasiusVonSzerencsi,
It is throwing an error for us. If it is benign, It would be better to hide it.
I see there is a hideFromConsole
variable. How and where to set it tho?
if (window.console && console.error && !hideFromConsole) {
console.error(err);
}
Hi @frqnck ,
To get to the bottom of this second issue, I think it would be easier if we could observe it on your Magento. Can you provide the URL of it? In case it needs any form of authentication or you don’t want to make it public, then I’d recommend providing these details in the Emarsys support ticket (as far as I know there is one about this topic).
Thanks, Balazs
Hi @frqnck ,
In case the issue still persists, please provide access to the environment where we can check it ourselves (if it involves exchange of restricted data, then please do it through the Emarsys Help Portal).
Thanks, Balazs
Could not reproduce on our end. We'd need some form of access to your Magento to do further checks.
We are experiencing a random JS issue when this module is enabled on Magento 2.4.2
The stack trace has a reference to:
window.Emarsys.Magento2.track | @ | emarsys-m2-email-after-233.js:1
. https://d22q3dafggn5rg.cloudfront.net/emarsys-m2-email-after-233.jsDisabling/removing the module fix the above. Is this module 2.4.2 compatible? Do you need a full stack trace???