Support » Plugin: Auto iFrame » ReferenceError

  • Resolved fashioncoree

    (@fashioncoree)


    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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Greg Ross

    (@gregross)

    That’s a bug in the code, I’ll release an update later today to resolve it.

    Plugin Author Greg Ross

    (@gregross)

    Version 1.5 resolves this.

    Sorry to inform you, but I’m still getting spammed even with the 1.5 version.

    Hi again!

    I took a printscreen, this is with the latest v1.5

    Error

    Plugin Author Greg Ross

    (@gregross)

    Can you check to see if the javascript appears in the pagesource for the function?

    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

    (@gregross)

    Is there a line like function AutoiFrameAdjustiFrameHeight()?

    Is the page accessible to the net so I could take a look?

    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

    (@gregross)

    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.