How to Fix – Fatal error: Cannot redeclare _wp_post_revision_fields()

WordPressI just encountered the following WordPress upgrade error when moving to 3.6 (though you may be experiencing it with WordPress 3.7 or newer):
Fatal error: Cannot redeclare _wp_post_revision_fields() in /home/xxxx/public_html/xxxx/wp-includes/revision.php on line 25

Pesky, huh? Easily fixed though. Download the latest copy of WordPress, then connect to your site via FTP. Rename wp-includes (or delete it) and upload a new copy from your newly downloaded version.

All should now be well!

It may have been related to my server load at the time causing a timeout.

Incoming search terms:

  • Fatal error: Cannot redeclare _wp_post_revision_fields()
  • cannot redeclare _wp_post_revision_fields()

Comments

  1. By Ronda

    Reply

    • By Mike

      Reply

Leave a Reply

Your email address will not be published.