Support » Plugin: Disqus Comment System » Comments broken on pages after plugin upgrade

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor ryanv12


    Hmmm, there are some extra conditions for Disqus to replace the comments, which is in code here:

    Because the counts load on that page, then this condition would not be the issue: ! $this->dsq_can_load( 'embed' )

    My guess is perhaps the $post object is not set, but it’s difficult to guess at without debugging. Are you able to verify which part of that check fails?

    Would the only way to see where it’s failing would be to put in some alerts/console.logs to the file you linked us to in the logic checks?

    And, is this how to set $post globally?

    <?php global $post; ?>

    Any updates here? Can’t get a reply from support via email, either.

    Plugin Contributor ryanv12


    The $post global should already be set if Disqus is being called in the “loop”. Adding some logging (I’d check $post->ID) will certainly help just to validate those variables to make sure we’re looking at the right problem.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Comments broken on pages after plugin upgrade’ is closed to new replies.