Title: Database Error
Last modified: February 7, 2017

---

# Database Error

 *  [timeistight](https://wordpress.org/support/users/timeistight/)
 * (@timeistight)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/database-error-228/)
 * I’ve just installed the latest nightly (and ran upgrade.php) and now I get the
   following error in wp-admin/edit.php:
    Warning: join(): Bad arguments. in /_my
   home directory_/wordpress/wp-admin/edit.php on line 13 Database error: [You have
   an error in your SQL syntax near ‘) ‘ at line 1] SELECT ID, post_title FROM wp_posts
   WHERE post_status = ‘draft’ AND post_author IN () When I edit a post, I don’t
   have “Publish” radio button under “Post Status”.

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

 *  Thread Starter [timeistight](https://wordpress.org/support/users/timeistight/)
 * (@timeistight)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/database-error-228/#post-91697)
 * Is it safe to go back to the 2004-09-08 version of wp-admin/edit.php, or would
   I have to change everything? Right now I can’t write or edit entries.
 *  Thread Starter [timeistight](https://wordpress.org/support/users/timeistight/)
 * (@timeistight)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/database-error-228/#post-91710)
 * Okay, if this happens to you *don’t* try to go back to the previous nightly.
   
   There’s an hour of my life I’ll never get back.
 *  Anonymous
 * [21 years, 9 months ago](https://wordpress.org/support/topic/database-error-228/#post-91786)
 * I have
 *  [sean_long](https://wordpress.org/support/users/sean_long/)
 * (@sean_long)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/database-error-228/#post-91789)
 * Sorry for the post above.
    I tried to say that I updated WordPress to the latest
   nightly build (2004-09-15), ran upgrade.php and I get the same error.
 *  [bronski](https://wordpress.org/support/users/bronski/)
 * (@bronski)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/database-error-228/#post-91803)
 * it seems there is a syntax error in line 13 of edit.php
    correct is `$editable
   = join(',', $editable);` instead of the wrong `$editable = join($editable, ',');`
 *  Thread Starter [timeistight](https://wordpress.org/support/users/timeistight/)
 * (@timeistight)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/database-error-228/#post-91812)
 * Discussion continues here:
    [http://wordpress.org/support/6/12915](http://wordpress.org/support/6/12915)

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

The topic ‘Database Error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 4 participants
 * Last reply from: [timeistight](https://wordpress.org/support/users/timeistight/)
 * Last activity: [21 years, 9 months ago](https://wordpress.org/support/topic/database-error-228/#post-91812)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
