• Got js error in the console after install the plugin. I figured out this is due to we don’t have addthis widget on the homepage nor any share buttons. The error goes way after I add the widget. But we do not want the widget, this should probably getting checked in the js.

    Uncaught TypeError: Cannot read property ‘0’ of null
    at Object.c [as getIconFontSize] (layers.7569eb2b5e9fff3d8477.js:1)
    at b.generateShareElement (layers.7569eb2b5e9fff3d8477.js:1)
    at b.generateElement (layers.7569eb2b5e9fff3d8477.js:1)
    at b.render (layers.7569eb2b5e9fff3d8477.js:1)
    at Object.create (layers.7569eb2b5e9fff3d8477.js:1)
    at Object.createWidget (layers.7569eb2b5e9fff3d8477.js:1)
    at Object.<anonymous> (layers.7569eb2b5e9fff3d8477.js:1)
    at o.p [as dispatchEvent] (addthis_widget.js?ver=4.8:2)
    at addthis_widget.js?ver=4.8:2

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘js error on homepage’ is closed to new replies.