• Just installed the plugin (Version 2.1.3, WordPress Version: 5.2.4, PHP Version: 7.0.22-0ubuntu0.16.04.1) and there is an javascript error.

    Uncaught TypeError: Cannot set property 'feedIndex' of null
        at HTMLDivElement.<anonymous> (sb-instagram.js?ver=5.2.4:180)
        at Function.each (jquery.js?ver=1.12.4-wp:2)
        at a.fn.init.each (jquery.js?ver=1.12.4-wp:2)
        at sbiCreatePage (sb-instagram.js?ver=5.2.4:171)
        at sbi_init (sb-instagram.js?ver=5.2.4:153)
        at HTMLDocument.<anonymous> (sb-instagram.js?ver=5.2.4:1434)
        at i (jquery.js?ver=1.12.4-wp:2)
        at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
        at Function.ready (jquery.js?ver=1.12.4-wp:2)
        at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)

    The generated div in html is:

    <div id="sb_instagram" class="sbi sbi_col_6 sbi_width_resp" style="width: 100%;" data-feedid="sbi_1450616013#12" data-res="full" data-cols="6" data-num="12" data-shortcode-atts="{}" data-sbi-index="1">

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Craig at Smash Balloon

    (@craig-at-smash-balloon)

    Hey fcandiani,

    It looks like your website has an old version of our plugin’s JavaScript file being generated by something in your theme:

    https://snipboard.io/nkDzOP.jpg

    This is likely causing the issue.

    Were you having trouble getting the JavaScript file added to the page at some point? You could try one of the options “Enqueue JS File in Head” or “Are you using an AJAX theme?” to see if it helps.

    – Craig

Viewing 1 replies (of 1 total)
  • The topic ‘Cannot set property ‘feedIndex’ of null’ is closed to new replies.