WordPress post preview button issue (Solution)

One of my friends was having an issue when he made a post on wordpress he was unable to preview it. This is general troubleshooting

How we ruled it out

  • Checked the htaccess file
  • Cleared the browser cookies
  • Checked the mysql database
  • Then deactivated all plugins (which made it work)

What we did next

  • Activate then test preview button few dozen times.
  • It was a plugin¬†with woocommerce but it could have been any plugin