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()
  • fatal error: cannot redeclare wordpress how to dashboard
  • cannot redeclare pq()
  • fatal error additional information to clipboard
  • Cannot redeclare _wp_post_revision_fields
  • fatal error: cannot redeclare

Comments

  1. By Ronda

    Reply

    • By Mike

      Reply

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>