Title: ReferenceError
Last modified: March 31, 2017

---

# ReferenceError

 *  Resolved [fashioncoree](https://wordpress.org/support/users/fashioncoree/)
 * (@fashioncoree)
 * [9 years ago](https://wordpress.org/support/topic/referenceerror-2/)
 * Dear, Author!
 * After activating your plugin I’m getting spammed by a ReferenceError.
    The error
   I get is: AutoiFrameAdjustiFrameHeight is not defined
 * All that has been done is: activated the plugin and added a shortcode to a post.
   
   Could it be because it’s added in a modal?
 * Best Regards
    -  This topic was modified 9 years ago by [fashioncoree](https://wordpress.org/support/users/fashioncoree/).

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

 *  Plugin Author [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [9 years ago](https://wordpress.org/support/topic/referenceerror-2/#post-8978629)
 * That’s a bug in the code, I’ll release an update later today to resolve it.
 *  Plugin Author [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [9 years ago](https://wordpress.org/support/topic/referenceerror-2/#post-8980187)
 * Version 1.5 resolves this.
 *  Thread Starter [fashioncoree](https://wordpress.org/support/users/fashioncoree/)
 * (@fashioncoree)
 * [9 years ago](https://wordpress.org/support/topic/referenceerror-2/#post-8985320)
 * Sorry to inform you, but I’m still getting spammed even with the 1.5 version.
 *  Thread Starter [fashioncoree](https://wordpress.org/support/users/fashioncoree/)
 * (@fashioncoree)
 * [9 years ago](https://wordpress.org/support/topic/referenceerror-2/#post-9004722)
 * Hi again!
 * I took a printscreen, this is with the latest v1.5
 * ![Error](https://i0.wp.com/i.imgur.com/ACLIhy8.jpg)
    -  This reply was modified 9 years ago by [fashioncoree](https://wordpress.org/support/users/fashioncoree/).
 *  Plugin Author [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [9 years ago](https://wordpress.org/support/topic/referenceerror-2/#post-9007027)
 * Can you check to see if the javascript appears in the pagesource for the function?
 *  Thread Starter [fashioncoree](https://wordpress.org/support/users/fashioncoree/)
 * (@fashioncoree)
 * [9 years ago](https://wordpress.org/support/topic/referenceerror-2/#post-9014089)
 * Hi again!
 * Is it something in particular I should look for?
 * I saw this directly in the html code :
    jQuery(document).ready(function(){ setInterval(
   function() { AutoiFrameAdjustiFrameHeight( ‘auto-iframe’, 50); }, 1000 ); });
 * Best Regards
 *  Plugin Author [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [9 years ago](https://wordpress.org/support/topic/referenceerror-2/#post-9015718)
 * Is there a line like `function AutoiFrameAdjustiFrameHeight()`?
 * Is the page accessible to the net so I could take a look?
 *  Thread Starter [fashioncoree](https://wordpress.org/support/users/fashioncoree/)
 * (@fashioncoree)
 * [9 years ago](https://wordpress.org/support/topic/referenceerror-2/#post-9017733)
 * Hi again, Greg!
 * Thank you for pointing me in the right direction, it seems like auto-iframe.js
   is not being included in the html.
 * If I add the code included in auto-iframe.js manually to my themes .js file it
   works fine.
    The big question now is why it’s not being included.
 * The page is unfortunately on a Intranet, not accessible from the outside.
 * Best Regards
 *  Plugin Author [Greg Ross](https://wordpress.org/support/users/gregross/)
 * (@gregross)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/referenceerror-2/#post-9100443)
 * Can you check your PHP logs, loading the JavaScript used the standard WP functions
   so there are very few things to go wrong.

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

The topic ‘ReferenceError’ is closed to new replies.

 * ![](https://ps.w.org/auto-iframe/assets/icon-256x256.png?rev=3164574)
 * [Auto iFrame](https://wordpress.org/plugins/auto-iframe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/auto-iframe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/auto-iframe/)
 * [Active Topics](https://wordpress.org/support/plugin/auto-iframe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/auto-iframe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/auto-iframe/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [Greg Ross](https://wordpress.org/support/users/gregross/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/referenceerror-2/#post-9100443)
 * Status: resolved