Title: Error when editing posts
Last modified: August 18, 2016

---

# Error when editing posts

 *  [lucaramel](https://wordpress.org/support/users/lucaramel/)
 * (@lucaramel)
 * [22 years, 8 months ago](https://wordpress.org/support/topic/error-when-editing-posts/)
 * Hi everyone,
    first of all thanks for this great tool which I’ve been using for
   quite some time now. Anyway, here’s my problem. I’ve recently moved my wordpress
   0.71gold to a 0.72beta2 on another server. I did as follows : I created a fresh
   install of WP .72 on the new server, and then deleted some tables (users, posts
   and comments) and imported the old ones onto the new server. All went well actually.
   Until I tried to edit a post. And when I do this I get : 1. SQL/DB Error — 2.[
   Champ ‘post_lat’ inconnu dans field list] Warning: Cannot add header information–
   headers already sent by (output started at /var/alternc/html/l/lucas/blog/b2-
   include/wp-db.php:96) in /var/alternc/html/l/lucas/blog/wp-admin/b2edit.php on
   line 276 And I don’t know what to do 🙁 I’ve read on this forum that it may be
   a problem on the php config of the server, but I’d like to be sure before I mail
   my host. Thanks. Regards.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Cena (a11n)](https://wordpress.org/support/users/cena/)
 * (@cena)
 * [22 years, 8 months ago](https://wordpress.org/support/topic/error-when-editing-posts/#post-23762)
 * You might take a look at:
    [http://wordpress.org/support/3/368](http://wordpress.org/support/3/368)
   for the PHP error (header info). The mysql error sounds like (I don’t know French,
   so I’m guessing about what the error actually says) there’s something wrong with
   that particular field in your db.
 *  Thread Starter [lucaramel](https://wordpress.org/support/users/lucaramel/)
 * (@lucaramel)
 * [22 years, 8 months ago](https://wordpress.org/support/topic/error-when-editing-posts/#post-23768)
 * Well, I haven’t been able to correct this, as I’m a bit clueless about PHP 🙁
   
   I tried to do a clean install and then importing only data in the sql base, but
   I got errors like this : Column count doesn’t match value count at row 1 That
   makes me think the scheme of the tables has changed a bit… how could I correct
   this please ? Thanks in advance.
 *  [lane](https://wordpress.org/support/users/lane/)
 * (@lane)
 * [22 years, 8 months ago](https://wordpress.org/support/topic/error-when-editing-posts/#post-23769)
 * Install .71, import your tables from that SQL dump (because it uses the same 
   table structure), then install .72 by uploading the files into the same directory.
   Then point your browser to YourDomain.com/wp-admin/upgrade-071-to-072.php
    That
   modify your table structure to the .72 settings.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error when editing posts’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [lane](https://wordpress.org/support/users/lane/)
 * Last activity: [22 years, 8 months ago](https://wordpress.org/support/topic/error-when-editing-posts/#post-23769)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
