W3 Total Cache “Preview mode could not be disabled” [closed]

W3 Total Cache plugin basically removes w3-total-cache-config-preview.php, when disabling the preview mode.

In /wp-content/ folder, please check if you have a file named w3-total-cache-config.php.

  • If it exists, please compare it with w3-total-cache-config-preview.php file.

    • If both have the same content, rename it to w3-total-cache-config-preview-backup.php and reload your site’s /wp-admin/admin.php?page=w3tc_general.
    • If both have different content, please copy all the content from w3-total-cache-config-preview.php to w3-total-cache-config.php and then rename the preview file.
  • If it doesn’t exist, please rename w3-total-cache-config-preview.php to w3-total-cache-config.php and then reload your site’s /wp-admin/admin.php?page=w3tc_general.