How to fix Disqus comments not syncing with WordPress

Disqus
Disqus

I’m (no longer) using Disqus plugin as my comment system here at Barzrul.com. At first, it was working great until recently I noticed that all comments were not imported to my WordPress database automatically. So, I went to Disqus website to find out how to fix comments not syncing problems.

Advertisement

I believe there are lots of WordPress users having a similar issue with Disqus, so I’m thinking of sharing the solution here instead. So, if you’re using Disqus comment system and all the comments are not syncing with the WordPress database, the before solution might work for you.

The most common issue is due to the WordPress Cron job is not working properly, for this issue, you can fix it with Solution 1 below. If this is not the issue on your WordPress, you may need to try all the solutions listed below.

See also how to create a child theme in WordPress.

Advertisement

How to fix Disqus comments not syncing with WordPress

The following is the list of solutions you can try if you have this issue.

1. Add alternate Cron.

You may need to add this code to the wp-config.php in WordPress that causes it to jumpstart its Cron service again using the following:

// Alternate cron method define( 'ALTERNATE_WP_CRON', true );

2. Use WP-Crontrol plugin.

If the dsq_sync_forum cron still isn’t running as a once-off, we’d recommend installing WP-Crontrol which allows you to not only see your current cron’s but modify them. You can then force dsq_sync_forum to occur every 10 minutes.

3. Use the latest Disqus version.

Make sure you’re using the most recent Disqus for WordPress plugin.

4. Re-install Disqus plugin.

Disqus settings may have gotten corrupted and need to be reset. To do this:

  1. Under Advanced Options in the Disqus plugin, click Uninstall to reset Disqus’ settings — your comments won’t be affected or removed.
  2. Follow the instructions to fully reset Disqus’s current settings.
  3. Re-configure the Disqus plugin.

5. Avoid conflict with theme.

This may be a conflict with your current theme or a plugin. To determine this:

  1. Temporarily revert to the default WordPress theme.
  2. Under Advanced Options in the Disqus plugin, click Sync Comments. If the issue persists, proceed to step 3.
  3. Temporarily disable all plugins (except Disqus).
  4. Click Sync Comments.

6. Bypass automatic sync.

A setting on your installation may be causing automatic sync to not complete properly. To bypass this:

  1. Temporarily revert to the default WordPress theme.
  2. Temporarily disable all plugins (except Disqus).
  3. Sync manually by running /scripts/import-comments.php found in the Disqus plugin folder.

7. Restart syncing.

The Disqus data in your WordPress database may have become corrupted. To fix this:

  1. Under Advanced Options in the Disqus plugin, enable the Remove all imported Disqus comments before syncing checkbox.
  2. Click Sync Comments.

The above solutions usually will fix the problem of Disqus comments not syncing with WordPress. All the solutions are provided by Disqus on their help page here.

Advertisement

Let me know your thought

Subscribe
Notify of
guest
9 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
Barzrul Tech uses cookies to ensure you get the best experience while browsing the site.Read more >>
+