After installation and with no existing posts in the database, the
Custom Fields area in the Write section shows an error message
because there are no records in the database. This doesn't affect
functionality, but this patch eliminates the error message with an
error check. Apply the diff to admin-functions.php in the Wordpress-
Pg 1.2.1-1.0 package.
Jen
admin-functions with error check for posts in DB