Support » Fixing WordPress » [Plugin: Simple Facebook Connect] ERROR: href attribute to the iframe

  • I suspect I know the answer to this problem in a relative way, but I thought I would throw it out there and see if anyone can assist anyway.

    I have a site that I maintain ( where I use Simple Facebook Connect to display a fan box and I’ve added the like option to all my posts. The plugin works great and I am glad I found this particular tool.

    I also use “Improved Include Post” plugin to allow me to create posts and then include those posts by post id on the home landing page to feature them.

    Until recently everything has worked great and SFC didn’t have any problems showing the like button at the bottom of these included posts. However, at least a couple of updates back, I started to notice an error notice next to the like button when a post was “included” on the front page. The error notice does not show up on the post when I display the actual post, but only if the post has been included and is shown on the front page.

    When I click on the error link, here’s the exact message I get:

    You must specify an “href” attribute to the iframe. Something like <iframe src=””></iframe>.

    I’m sure this is due in large part to the fact that we are not displaying the complete page on the front page, which may or may not be including all of the code in the header that like button needs to work properly. However, if anyone can give me a better understanding of this problem, or better yet there is some simple fix that will take care of this, I’d appreciate it if you could share that information.


Viewing 1 replies (of 1 total)
  • Moderator Samuel Wood (Otto)

    (@otto42) Admin

    I’m not familiar with Improved Include Post, but it’s possible that it’s doing something which makes the get_the_permalink function not work at that point. In which case you’d get this sort of problem.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Simple Facebook Connect] ERROR: href attribute to the iframe’ is closed to new replies.