• Resolved imkylewatson

    (@imkylewatson)


    Our hosting provider has been auto updating our plugins, and the ik_facebook which we had on 2.14.2 is being updated to 3.0.2, it keeps breaking on live sites.

    The error is: Call to undefined function ik_fb_display_feed() in our templates_c file on line 158.

    After investigation is seend the way which we are displaying the feed is in our index.tpl file with this line:
    <dd class=’facebook’>
    X on Facebook
    {ik_fb_display_feed()}<div></div>
    </dd>

    so the ik_fb_display_feed is not defined anymore after the update. in the old version it was at the end of ik_facebook.php. So how should I change my output in my index.tpl file?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author richardgabriel

    (@richardgabriel)

    Hey Kyle!

    I’m so sorry this happened to you!

    The easiest way to fix it is to replace your current function with the following:

    echo do_shortcode('[ik_fb_feed]')

    do_shortcode is a wordpress function that will run shortcodes from PHP files and it should do the trick!

    Can you let me know if that works?

    Best,
    Richard

    Thread Starter imkylewatson

    (@imkylewatson)

    Hey Richard,

    SO yes that did work!

    first I just changed it to this due to smarty output: {do_shortcode(‘[ik_fb_feed]’)}

    Thanks for the quick response:)

    Plugin Author richardgabriel

    (@richardgabriel)

    Perfect! I’m glad that worked.

    We’ll need to make a note about this – removing those functions is a bit of an oversight on our part, so I do apologize for the errors.

    All the best,
    Richard

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display Feed Not defined in new update’ is closed to new replies.