Title: Uncaught ReferenceError: sbi_init is not defined
Last modified: November 12, 2019

---

# Uncaught ReferenceError: sbi_init is not defined

 *  Resolved [iriderpro](https://wordpress.org/support/users/iriderpro/)
 * (@iriderpro)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-sbi_init-is-not-defined/)
 * Hi.
    Please help me.I can’t find reason. i disable a lot other plugins – nothing
   version 2.1.2 wp 5.1.3
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Funcaught-referenceerror-sbi_init-is-not-defined%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Contributor [Craig at Smash Balloon](https://wordpress.org/support/users/craig-at-smash-balloon/)
 * (@craig-at-smash-balloon)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-sbi_init-is-not-defined/#post-12122809)
 * Hey iriderpro,
 * It looks like the JavaScript file is missing from the source of the page. Usually
   this means that your theme is not using the wp_footer() function or is dequeuing
   the JavaScript file before it’s outputted on the page.
 * You could try switching themes to confirm this, or you could try enabling one
   of the settings “Are you using an AJAX theme?” or “Enqueue JS file in head” found
   on the “Customize” tab.
 * Thanks,
 * Craig
 *  Thread Starter [iriderpro](https://wordpress.org/support/users/iriderpro/)
 * (@iriderpro)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-sbi_init-is-not-defined/#post-12125801)
 * Thanks for reply.
    I use custom theme with wp_footer() function. if i enable 
   settings “Are you using an AJAX theme?” – i got “Uncaught ReferenceError: sbi_init
   is not defined” if i enable “Enqueue JS file in head” – i got “undefined” Can
   i manually attach javascript or are not enough?
 *  Plugin Contributor [Craig at Smash Balloon](https://wordpress.org/support/users/craig-at-smash-balloon/)
 * (@craig-at-smash-balloon)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-sbi_init-is-not-defined/#post-12128841)
 * It looks like the file is now loaded on the page: [https://snipboard.io/WCj5fp.jpg](https://snipboard.io/WCj5fp.jpg)
 * Were you able to fix this? I would expect sbi_init(); to return ‘undefined’ since
   it has no return value. If there is HTML for the feed on the page, it will load
   the feed and properly size the images. Have you tried adding the shortcode [instagram-
   feed] somewhere on this page?
 * – Craig
 *  Thread Starter [iriderpro](https://wordpress.org/support/users/iriderpro/)
 * (@iriderpro)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-sbi_init-is-not-defined/#post-12130755)
 * file is now loaded, but feed is not apeear.
    I inserted shortcode [instagram-
   feed] in news page. [https://snipboard.io/phsadL.jpg](https://snipboard.io/phsadL.jpg)
 *  Plugin Contributor [Craig at Smash Balloon](https://wordpress.org/support/users/craig-at-smash-balloon/)
 * (@craig-at-smash-balloon)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-sbi_init-is-not-defined/#post-12132396)
 * Hmm is it possible that this page template doesn’t use “the_content()” to display
   the content? I’m seeing no sign of the shortcode being used on this page. Can
   you try switching to a default theme (like twentynineteen) and see if a shortcode
   works then?
 *  Thread Starter [iriderpro](https://wordpress.org/support/users/iriderpro/)
 * (@iriderpro)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-sbi_init-is-not-defined/#post-12137180)
 * Thanks for reply.
    I solved problem. My theme was maden from HTML and there are
   absent php code: “php the_post();” “php the_content();” i added it and feed is
   appear.
 *  Plugin Contributor [Craig at Smash Balloon](https://wordpress.org/support/users/craig-at-smash-balloon/)
 * (@craig-at-smash-balloon)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-sbi_init-is-not-defined/#post-12146583)
 * Thanks for letting me know! Glad we could figure this one out.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Uncaught ReferenceError: sbi_init is not defined’ is closed to new replies.

 * ![](https://ps.w.org/instagram-feed/assets/icon-256x256.png?rev=2700807)
 * [Smash Balloon Social Photo Feed – Easy Social Feeds Plugin](https://wordpress.org/plugins/instagram-feed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/instagram-feed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/instagram-feed/)
 * [Active Topics](https://wordpress.org/support/plugin/instagram-feed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/instagram-feed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/instagram-feed/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Craig at Smash Balloon](https://wordpress.org/support/users/craig-at-smash-balloon/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-sbi_init-is-not-defined/#post-12146583)
 * Status: resolved