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

    (@ryanv12)

    Hmmm, there are some extra conditions for Disqus to replace the comments, which is in code here: https://github.com/disqus/disqus-wordpress-plugin/blob/master/disqus/public/class-disqus-public.php#L275

    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?

    Thread Starter insidethehall

    (@insidethehall)

    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; ?>

    Thread Starter insidethehall

    (@insidethehall)

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

    Plugin Contributor ryanv12

    (@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.