Title: Errors when publishing
Last modified: August 18, 2016

---

# Errors when publishing

 *  [ara](https://wordpress.org/support/users/ara/)
 * (@ara)
 * [22 years, 1 month ago](https://wordpress.org/support/topic/errors-when-publishing/)
 * I recieve the following errors when I post an entry:
    Database error: [Unknown
   column ‘post_excerpt’ in ‘field list’] INSERT INTO movies_posts (ID, post_author,
   post_date, post_date_gmt, post_content, post_title, post_excerpt, post_status,
   comment_status, ping_status, post_password, post_name, to_ping, post_modified,
   post_modified_gmt) VALUES (‘0’, ‘1’, ‘2004-05-16 16:49:31’, ‘2004-05-16 20:49:
   31’, ‘This is the really really really super duper really really really really
   super duper really really really really super duper really really really really
   super duper really really really really super duper really really really really
   super duper really really really really super duper really really super duper
   long description of the movie.’, ‘Movie Title’, ”, ‘publish’, ‘open’, ‘open’,”,‘
   movie-title’, ”, ‘2004-05-16 16:49:31’, ‘2004-05-16 20:49:31’) Warning: Cannot
   modify header information – headers already sent by (output started at /home/
   faithful/public_html/ara/movies/wp-includes/wp-db.php:77) in /home/faithful/public_html/
   ara/movies/wp-admin/post.php on line 139 Database error: [You have an error in
   your SQL syntax. Check the manual that corresponds to your MySQL server version
   for the right syntax to use near ‘AND category_id = 1’ at line 1] SELECT * FROM
   movies_post2cat WHERE post_id = AND category_id = 1 Database error: [You have
   an error in your SQL syntax. Check the manual that corresponds to your MySQL 
   server version for the right syntax to use near ” at line 1] SELECT to_ping FROM
   movies_posts WHERE ID = Database error: [You have an error in your SQL syntax.
   Check the manual that corresponds to your MySQL server version for the right 
   syntax to use near ” at line 1] SELECT pinged FROM movies_posts WHERE ID = Does
   anyone know how I might fix this?

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

 *  [NuclearMoose](https://wordpress.org/support/users/nuclearmoose/)
 * (@nuclearmoose)
 * [22 years, 1 month ago](https://wordpress.org/support/topic/errors-when-publishing/#post-52111)
 * ara,
    This is my best guess, so please bear with me…try taking a peek at your
   wp-config.php file, and make sure that there are no extra spaces or returns anywhere.
   Especially make sure that there is nothing after the closing PHP tag – ?> HTH.
   Craig.
 *  [carthik](https://wordpress.org/support/users/carthik/)
 * (@carthik)
 * [22 years, 1 month ago](https://wordpress.org/support/topic/errors-when-publishing/#post-52113)
 * ara, if you upgraded from a previous version of WP to a newer version, you have
   to have run upgrade.php which creates new tables etc if needed. Have you run 
   that file? Try running it anyways, doesn’t harm 🙂
    wp-admin/upgrade.php

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

The topic ‘Errors when publishing’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [carthik](https://wordpress.org/support/users/carthik/)
 * Last activity: [22 years, 1 month ago](https://wordpress.org/support/topic/errors-when-publishing/#post-52113)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
