DB Error for query INSERT INTO wp_posts bug?
-
I’ve just installed a fresh copy of WordPress 2.6.2
It’s the first time I’ve used it but I think it’s all set up OK, things seem to be working, I can add posts for example.
But I can’t add any new pages (there is one there by default). When I click publish on the write page screen, the screen just refreshes and returns with empty form variables but the pages are not added.
I do get an error in my app server console that says:
WordPress database error Field 'post-excerpt' doesn't have a default value for query INSERT INTO wp_posts ('post_date'... etc ) made by wp_insert_post
The SQL command doesn’t seem to be inserting a value for ‘post-excerpt’ and when I look at the database table, that field cannot be null and has no default value so I guess there is a SQL error somewhere, trouble is I’m not too good at PHP and I can’t work out where in the code this is actually happening to change it.
Is there anyone who can confirm or deny that this could be a bug or give me some pointers to where I should look to fix the issue?
thanks in advance
- The topic ‘DB Error for query INSERT INTO wp_posts bug?’ is closed to new replies.