Support » Plugins » [Plugin: Simple Facebook Connect] Wrong post displayed in plublish pop-up

Viewing 3 replies - 1 through 3 (of 3 total)
  • Same problem for me. I can add a comment correctly, but the pop-up which ask to publish something else on the facebook wall refer to a different wordpress article…

    It’s the same article where I’ve redirected when I log-out:

    Any suggestion?

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    If you’re getting redirected to the wrong place, then you have some plugin or some other piece of code that is messing up the query loop before the comment code. The comment code expects the query to be still in the state it was when the post ended.

    A lot of possible things can do this. The most common would probably be any badly written “recent comments” listing.

    Somewhere on your page, there’s a reference to the post that it’s redirecting to. Like the last comment on a recent comments list happens to be on that post, sort of thing. The query is being used incorrectly by that bit of code and leaving it in that state. Thus, when the comments code runs, it cannot tell what page it’s on anymore, because the other code left the query saying that it was on some other page.

    There’s no easy fix. Remove that bad code messing with the query or fix it. No other way, unfortunately. Note that this same problem can result in other more severe consequences, like comments going on the wrong posts or other oddities. It’s a common problem with old code and badly made plugins.

    You were spot on, its was a “popular post” script that caused the problem.. thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Simple Facebook Connect] Wrong post displayed in plublish pop-up’ is closed to new replies.