Magento1 Feefo widget js conflict with prototype.js

by Narayan   Last Updated February 11, 2019 09:09 AM

I want to display feefo carousal widget on my website. For that I have generate the widget code and trying to add on my magento 1.9 website. But Feefo widget JS is conflict with the prototype.js and raised the below error in console,

Error 1

feefo-widget.js:53 Uncaught TypeError: Array.prototype.map callback must be a function
    at Array.map (feefo-widget.js:53)
    at Array.toArray (prototype.js:1002)
    at t.exports (feefo-widget.js:48)
    at Object.<anonymous> (feefo-widget.js:41)
    at o (feefo-widget.js:1)
    at Object.<anonymous> (feefo-widget.js:41)
    at o (feefo-widget.js:1)
    at Object.<anonymous> (feefo-widget.js:48)
    at o (feefo-widget.js:1)
    at Object.<anonymous> (feefo-widget.js:48)
map @ feefo-widget.js:53
toArray @ prototype.js:1002
t.exports @ feefo-widget.js:48
(anonymous) @ feefo-widget.js:41
o @ feefo-widget.js:1
(anonymous) @ feefo-widget.js:41
o @ feefo-widget.js:1
(anonymous) @ feefo-widget.js:48
o @ feefo-widget.js:1
(anonymous) @ feefo-widget.js:48
o @ feefo-widget.js:1
(anonymous) @ feefo-widget.js:53
o @ feefo-widget.js:1
(anonymous) @ feefo-widget.js:1
(anonymous) @ feefo-widget.js:1

Error 2

enter code here
feefo.js:8 Uncaught ReferenceError: feefoWidget is not defined
    at HTMLScriptElement.feefoWidgetScript.onload (feefo.js:8)

Please help me to fix this issue? I have tried but no solution found. Thanks in advance.



Related Questions


Updated September 27, 2017 12:09 PM

Updated August 30, 2018 15:09 PM

Updated August 11, 2017 13:09 PM

Updated July 10, 2018 09:09 AM